source: draft-ietf-httpbis/latest/Makefile @ 308

Last change on this file since 308 was 308, checked in by julian.reschke@…, 11 years ago

update to latest version of rfc2629.xslt, annotate spec with intended maturity level

  • Property svn:eol-style set to native
File size: 2.1 KB
RevLine 
[230]1xml2rfc = "$(HOME)/bin/xml2rfc-1.33/xml2rfc.tcl"
[26]2saxpath = "$(HOME)/java/saxon-8-9-j/saxon8.jar"
[230]3saxon = java -classpath $(saxpath) net.sf.saxon.Transform -novw -l
[26]4
5stylesheet = ../myxml2rfc.xslt
6reduction  = ../../rfc2629xslt/clean-for-DTD.xslt
7
8TARGETS = p1-messaging.html \
9          p2-semantics.html \
10          p3-payload.html \
11          p4-conditional.html \
12          p5-range.html \
13          p6-cache.html \
14          p7-auth.html \
15          p8-cookies.html \
16          p1-messaging.redxml \
17          p2-semantics.redxml \
18          p3-payload.redxml \
19          p4-conditional.redxml \
20          p5-range.redxml \
21          p6-cache.redxml \
22          p7-auth.redxml \
23          p8-cookies.redxml \
24          p1-messaging.txt \
25          p2-semantics.txt \
26          p3-payload.txt \
27          p4-conditional.txt \
28          p5-range.txt \
29          p6-cache.txt \
30          p7-auth.txt \
[288]31          p8-cookies.txt \
[308]32          p1-messaging.iana-headers \
33          p2-semantics.iana-headers \
34          p2-semantics.iana-methods     \
35          p2-semantics.iana-status-codes \
36          p3-payload.iana-headers \
37          p4-conditional.iana-headers \
38          p5-range.iana-headers \
39          p6-cache.iana-headers \
40          p7-auth.iana-headers
[26]41
[290]42
[26]43all: $(TARGETS)
44
45clean:
46        rm -f $(TARGETS)
47
48%.html: %.xml $(stylesheet)
49        $(saxon) $< $(stylesheet) > $@
50
51%.redxml: %.xml $(reduction)
52        $(saxon) $< $(reduction) > $@
53
54%.txt: %.redxml
55        $(xml2rfc) $< $@
56
[202]57%.xhtml: %.xml ../../rfc2629xslt/rfc2629toXHTML.xslt
58        $(saxon) $< ../../rfc2629xslt/rfc2629toXHTML.xslt > $@
59
[308]60%.iana-headers: %.xml extract-header-defs.xslt
[290]61        $(saxon) $< extract-header-defs.xslt > $@
62
[308]63%.iana-methods: %.xml extract-method-defs.xslt
[288]64        $(saxon) $< extract-method-defs.xslt > $@
65
[308]66%.iana-status-codes: %.xml extract-status-code-defs.xslt
[288]67        $(saxon) $< extract-status-code-defs.xslt > $@
68
[202]69outlineALL.html:        p1-messaging.xhtml \
70        p2-semantics.xhtml \
71        p3-payload.xhtml \
72        p4-conditional.xhtml \
73        p5-range.xhtml \
74        p6-cache.xhtml \
75        p7-auth.xhtml \
76        extractOutline.xslt
77        $(saxon) extractOutline.xslt extractOutline.xslt > $@
[217]78        rm p*.xhtml
[202]79
[217]80
81
Note: See TracBrowser for help on using the repository browser.