source: draft-ietf-httpbis/latest-roy/Makefile @ 446

Last change on this file since 446 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: 2.0 KB
Line 
1xml2rfc = "../../xml2rfc/xml2rfc.tcl"
2saxpath = "$(HOME)/java/saxon-8-9-j/saxon8.jar"
3saxon = java -classpath $(saxpath) net.sf.saxon.Transform -novw -l
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          p1-messaging.redxml \
16          p2-semantics.redxml \
17          p3-payload.redxml \
18          p4-conditional.redxml \
19          p5-range.redxml \
20          p6-cache.redxml \
21          p7-auth.redxml \
22          p1-messaging.txt \
23          p2-semantics.txt \
24          p3-payload.txt \
25          p4-conditional.txt \
26          p5-range.txt \
27          p6-cache.txt \
28          p7-auth.txt \
29          p1-messaging.iana-headers \
30          p2-semantics.iana-headers \
31          p2-semantics.iana-methods     \
32          p2-semantics.iana-status-codes \
33          p3-payload.iana-headers \
34          p4-conditional.iana-headers \
35          p5-range.iana-headers \
36          p6-cache.iana-headers \
37          p7-auth.iana-headers
38
39
40all: $(TARGETS)
41
42clean:
43        rm -f $(TARGETS)
44
45%.html: %.xml $(stylesheet)
46        $(saxon) $< $(stylesheet) > $@
47
48%.redxml: %.xml $(reduction)
49        $(saxon) $< $(reduction) > $@
50
51%.txt: %.redxml
52        $(xml2rfc) $< $@
53
54%.xhtml: %.xml ../../rfc2629xslt/rfc2629toXHTML.xslt
55        $(saxon) $< ../../rfc2629xslt/rfc2629toXHTML.xslt > $@
56
57%.iana-headers: %.xml extract-header-defs.xslt
58        $(saxon) $< extract-header-defs.xslt > $@
59
60%.iana-methods: %.xml extract-method-defs.xslt
61        $(saxon) $< extract-method-defs.xslt > $@
62
63%.iana-status-codes: %.xml extract-status-code-defs.xslt
64        $(saxon) $< extract-status-code-defs.xslt > $@
65
66outlineALL.html:        p1-messaging.xhtml \
67        p2-semantics.xhtml \
68        p3-payload.xhtml \
69        p4-conditional.xhtml \
70        p5-range.xhtml \
71        p6-cache.xhtml \
72        p7-auth.xhtml \
73        extractOutline.xslt
74        $(saxon) extractOutline.xslt extractOutline.xslt > $@
75        rm p*.xhtml
76
77
78
Note: See TracBrowser for help on using the repository browser.