4625b604 PR |
1 | DOCS = tutorial.txt |
2 | DOCS_HTML = $(DOCS:.txt=.html) |
3 | DOCS_PDF = $(DOCS:.txt=.pdf) |
4 | |
5 | all: $(DOCS_HTML) $(DOCS_PDF) |
6 | |
7 | %.html: %.txt |
8 | asciidoc $< |
9 | |
10 | %.xml: %.txt |
11 | asciidoc --backend=docbook $< |
12 | |
13 | %.pdf: %.xml |
14 | xmlto pdf $< |
15 | |
16 | clean: |
17 | rm -f *.xml *.html *.pdf |