]> pere.pagekite.me Git - text-mekanikerord.git/blob - Makefile
Switch to default style and two column output.
[text-mekanikerord.git] / Makefile
1 SOURCE = book.xml glossary.xml
2 all: book.pdf book.epub
3
4 clean:
5 $(RM) *~
6
7 distclean: clean
8 $(RM) glossary.xml book.pdf book.epub
9
10 XMLLINTOPTS = --nonet --noout --xinclude --postvalid
11 lint: book.xml glossary.xml
12 xmllint $(XMLLINTOPTS) book.xml
13
14 glossary.xml: make-glossary meksme-utf8.xml
15 ./make-glossary
16
17 DBLATEX_OPTS = \
18 -b xetex \
19 --indexstyle=myindexstyle.ist \
20 -V \
21 -P latex.index.tool=xindy \
22 -p pdf.xsl
23
24 book.pdf: $(SOURCE)
25 dblatex $(DBLATEX_OPTS) book.xml
26
27 book.epub: $(SOURCE)
28 dbtoepub book.xml