source: draft-ietf-httpbis/05/Makefile @ 559

Last change on this file since 559 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
Line 
1xml2rfc = "$(HOME)/bin/xml2rfc-1.33/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          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 \
31          p8-cookies.txt \
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
41
42
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
57%.xhtml: %.xml ../../rfc2629xslt/rfc2629toXHTML.xslt
58        $(saxon) $< ../../rfc2629xslt/rfc2629toXHTML.xslt > $@
59
60%.iana-headers: %.xml extract-header-defs.xslt
61        $(saxon) $< extract-header-defs.xslt > $@
62
63%.iana-methods: %.xml extract-method-defs.xslt
64        $(saxon) $< extract-method-defs.xslt > $@
65
66%.iana-status-codes: %.xml extract-status-code-defs.xslt
67        $(saxon) $< extract-status-code-defs.xslt > $@
68
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 > $@
78        rm p*.xhtml
79
80
81
Note: See TracBrowser for help on using the repository browser.