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

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

Update to latest version of rfc2629.xslt, and add experimental version of xml2rfc.tcl (supporting the new IPR escape clause), use that clause in P1..P7 (but not for the method registrations).

  • Property svn:eol-style set to native
File size: 3.0 KB
RevLine 
[446]1xml2rfc = "../../xml2rfc/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
[418]7bap  = ../../abnfparser/bap
[26]8
9TARGETS = p1-messaging.html \
10          p2-semantics.html \
11          p3-payload.html \
12          p4-conditional.html \
13          p5-range.html \
14          p6-cache.html \
15          p7-auth.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          p1-messaging.txt \
24          p2-semantics.txt \
25          p3-payload.txt \
26          p4-conditional.txt \
27          p5-range.txt \
28          p6-cache.txt \
29          p7-auth.txt \
[406]30          p1-messaging.abnf \
31          p2-semantics.abnf \
32          p3-payload.abnf \
33          p4-conditional.abnf \
34          p5-range.abnf \
35          p6-cache.abnf \
36          p7-auth.abnf \
[417]37          p1-messaging.parsed-abnf \
38          p2-semantics.parsed-abnf \
39          p3-payload.parsed-abnf \
40          p4-conditional.parsed-abnf \
41          p5-range.parsed-abnf \
42          p6-cache.parsed-abnf \
43          p7-auth.parsed-abnf \
[421]44          p1-messaging.abnf-appendix \
45          p2-semantics.abnf-appendix \
46          p3-payload.abnf-appendix \
47          p4-conditional.abnf-appendix \
48          p5-range.abnf-appendix \
49          p6-cache.abnf-appendix \
50          p7-auth.abnf-appendix \
[308]51          p1-messaging.iana-headers \
52          p2-semantics.iana-headers \
53          p2-semantics.iana-methods     \
54          p2-semantics.iana-status-codes \
55          p3-payload.iana-headers \
56          p4-conditional.iana-headers \
57          p5-range.iana-headers \
58          p6-cache.iana-headers \
59          p7-auth.iana-headers
[26]60
[290]61
[26]62all: $(TARGETS)
63
64clean:
65        rm -f $(TARGETS)
66
67%.html: %.xml $(stylesheet)
68        $(saxon) $< $(stylesheet) > $@
69
70%.redxml: %.xml $(reduction)
71        $(saxon) $< $(reduction) > $@
72
73%.txt: %.redxml
74        $(xml2rfc) $< $@
75
[406]76%.abnf: %.xml ../../rfc2629xslt/extract-artwork.xslt
77        $(saxon) $< ../../rfc2629xslt/extract-artwork.xslt type="abnf2616" >$@
78
[417]79%.parsed-abnf: %.abnf
[418]80        $(bap)/bap -i $(bap)/core.abnf < $< | sort | $(bap)/bap  -i $(bap)/core.abnf -l 69 >$@
[417]81
[421]82%.abnf-appendix: %.parsed-abnf
[420]83        $(saxon) $(basename $<).xml abnf2xml2rfc.xslt abnf="$<" >$@
84
[202]85%.xhtml: %.xml ../../rfc2629xslt/rfc2629toXHTML.xslt
86        $(saxon) $< ../../rfc2629xslt/rfc2629toXHTML.xslt > $@
87
[308]88%.iana-headers: %.xml extract-header-defs.xslt
[290]89        $(saxon) $< extract-header-defs.xslt > $@
90
[308]91%.iana-methods: %.xml extract-method-defs.xslt
[288]92        $(saxon) $< extract-method-defs.xslt > $@
93
[308]94%.iana-status-codes: %.xml extract-status-code-defs.xslt
[288]95        $(saxon) $< extract-status-code-defs.xslt > $@
96
[202]97outlineALL.html:        p1-messaging.xhtml \
98        p2-semantics.xhtml \
99        p3-payload.xhtml \
100        p4-conditional.xhtml \
101        p5-range.xhtml \
102        p6-cache.xhtml \
103        p7-auth.xhtml \
104        extractOutline.xslt
105        $(saxon) extractOutline.xslt extractOutline.xslt > $@
[217]106        rm p*.xhtml
[202]107
[217]108
109
Note: See TracBrowser for help on using the repository browser.