changeset 50 | d642f43eb87d |
parent 0 | b97547f5f1fa |
child 53 | 537ad3e8e461 |
48:0adf4d507ede | 50:d642f43eb87d |
---|---|
1 MKHTMLOPTS=--doctype book --param toc.section.depth=1 --target html --stylesheet standard |
|
2 SRC=. |
|
3 |
|
4 MKPDFOPTS=--doctype book --param toc.section.depth=2 --target pdf --stylesheet standard |
|
5 |
|
6 TXTFILES:= $(wildcard *.txt) |
|
7 TARGET := $(TXTFILES:.txt=.html) |
|
8 |
|
9 all: index.html |
|
10 |
|
11 index.html: *.txt |
|
12 mkdoc ${MKHTMLOPTS} index.txt |
|
13 |
|
14 index.pdf: *.txt |
|
15 mkdoc ${MKPDFOPTS} index.txt |
|
16 |
|
17 %.html: %.txt |
|
18 mkdoc ${MKHTMLOPTS} $< |
|
19 |
|
20 clean: |
|
21 rm -f *.html |