-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (19 loc) · 690 Bytes
/
Copy pathMakefile
File metadata and controls
31 lines (19 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SRC := $(wildcard draft-*.xml)
HTML := $(patsubst %.xml,%.html,$(SRC))
TXT := $(patsubst %.xml,%.txt,$(SRC))
DIF := $(patsubst %.xml,%.diff.html,$(SRC))
PDF := $(patsubst %.xml,%.pdf,$(SRC))
all: $(HTML) $(TXT) $(DIF) $(PDF)
#all: $(HTML) $(TXT) $(DIF)
clean:
rm *~ draft*.html draft*pdf draft-*txt
#%.html: %.xml
# xsltproc -o $@ rfc2629.xslt $^
%.html: %.xml
/Users/ccg-cteo/HTML5/ietf/binaries/xml2rfc/xml2rfc-1.36/xml2rfc.tcl $^ $@
%.txt: %.xml
/Users/ccg-cteo/HTML5/ietf/binaries/xml2rfc/xml2rfc-1.36/xml2rfc.tcl $^ $@
%.diff.html: %.txt
/Users/ccg-cteo/HTML5/ietf/binaries/xml2rfc/xml2rfc-1.36/htmlwdiff $^.old $^ > $@
%.pdf: %.html
wkpdf -p letter -s $^ -o $@