Last change
on this file since 234 was
230,
checked in by julian.reschke@…, 15 years ago
|
Update to xml2rfc 1.33 (only affects Makefiles), update to latest version of rfc2629.xslt, change Makefile to allow Saxon to keep line numbers from source files.
|
-
Property svn:eol-style set to
native
|
File size:
1.5 KB
|
Line | |
---|
1 | xml2rfc = "$(HOME)/bin/xml2rfc-1.33/xml2rfc.tcl" |
---|
2 | saxpath = "$(HOME)/java/saxon-8-9-j/saxon8.jar" |
---|
3 | saxon = java -classpath $(saxpath) net.sf.saxon.Transform -novw -l |
---|
4 | |
---|
5 | stylesheet = ../myxml2rfc.xslt |
---|
6 | reduction = ../../rfc2629xslt/clean-for-DTD.xslt |
---|
7 | |
---|
8 | TARGETS = 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 | |
---|
33 | all: $(TARGETS) |
---|
34 | |
---|
35 | clean: |
---|
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 | |
---|
47 | %.xhtml: %.xml ../../rfc2629xslt/rfc2629toXHTML.xslt |
---|
48 | $(saxon) $< ../../rfc2629xslt/rfc2629toXHTML.xslt > $@ |
---|
49 | |
---|
50 | outlineALL.html: p1-messaging.xhtml \ |
---|
51 | p2-semantics.xhtml \ |
---|
52 | p3-payload.xhtml \ |
---|
53 | p4-conditional.xhtml \ |
---|
54 | p5-range.xhtml \ |
---|
55 | p6-cache.xhtml \ |
---|
56 | p7-auth.xhtml \ |
---|
57 | extractOutline.xslt |
---|
58 | $(saxon) extractOutline.xslt extractOutline.xslt > $@ |
---|
59 | rm p*.xhtml |
---|
60 | |
---|
61 | |
---|
62 | |
---|
Note: See
TracBrowser
for help on using the repository browser.