source: draft-ietf-httpbis/01/Makefile @ 165

Last change on this file since 165 was 26, checked in by fielding@…, 12 years ago

And one file to make them all (assuming you have installed saxon).

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1xml2rfc = "$(HOME)/bin/xml2rfc-1.33pre4/xml2rfc.tcl"
2saxpath = "$(HOME)/java/saxon-8-9-j/saxon8.jar"
3saxon = java -classpath $(saxpath) net.sf.saxon.Transform -novw
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
33all: $(TARGETS)
34
35clean:
36        rm -f $(TARGETS)
37
38%.html: %.xml $(stylesheet)
39        $(saxon) $< $(stylesheet) > $@
40
41%.redxml: %.xml $(reduction)
42        $(saxon) $< $(reduction) > $@
43
44%.txt: %.redxml
45        $(xml2rfc) $< $@
46
Note: See TracBrowser for help on using the repository browser.