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

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

Add checking of consistency of auto-generated tables (related to #72)

  • Property svn:eol-style set to native
File size: 1.7 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          p2-semantics.iana-methods.xml \
33          p2-semantics.iana-status-codes.xml   
34
35all: $(TARGETS)
36
37clean:
38        rm -f $(TARGETS)
39
40%.html: %.xml $(stylesheet)
41        $(saxon) $< $(stylesheet) > $@
42
43%.redxml: %.xml $(reduction)
44        $(saxon) $< $(reduction) > $@
45
46%.txt: %.redxml
47        $(xml2rfc) $< $@
48
49%.xhtml: %.xml ../../rfc2629xslt/rfc2629toXHTML.xslt
50        $(saxon) $< ../../rfc2629xslt/rfc2629toXHTML.xslt > $@
51
52%.iana-methods.xml: %.xml extract-method-defs.xslt
53        $(saxon) $< extract-method-defs.xslt > $@
54
55%.iana-status-codes.xml: %.xml extract-status-code-defs.xslt
56        $(saxon) $< extract-status-code-defs.xslt > $@
57
58outlineALL.html:        p1-messaging.xhtml \
59        p2-semantics.xhtml \
60        p3-payload.xhtml \
61        p4-conditional.xhtml \
62        p5-range.xhtml \
63        p6-cache.xhtml \
64        p7-auth.xhtml \
65        extractOutline.xslt
66        $(saxon) extractOutline.xslt extractOutline.xslt > $@
67        rm p*.xhtml
68
69
70
Note: See TracBrowser for help on using the repository browser.