changeset 50 | d642f43eb87d |
parent 48 | 0adf4d507ede |
child 51 | 8c5de7159cab |
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 |