]> pere.pagekite.me Git - text-mekanikerord.git/blob - Makefile
Add pdf.xsl to source list.
[text-mekanikerord.git] / Makefile
1 SOURCE = book.xml glossary.xml pdf.xsl
2
3 all: book.pdf book.epub book.html
4
5 clean:
6 $(RM) *~
7
8 distclean: clean
9 $(RM) glossary.xml book.pdf book.epub
10
11 XMLLINTOPTS = --nonet --noout --xinclude --postvalid
12 lint: book.xml glossary.xml
13 xmllint $(XMLLINTOPTS) book.xml
14
15 epubcheck: book.epub
16 epubcheck book.epub
17
18 check: lint epubcheck
19
20 glossary.xml: make-glossary meksme-utf8.xml
21 ./make-glossary
22
23 DBLATEX_OPTS = \
24 -b xetex \
25 --indexstyle=myindexstyle.ist \
26 -V \
27 -P latex.index.tool=xindy \
28 -p pdf.xsl
29
30 book.pdf: $(SOURCE)
31 dblatex $(DBLATEX_OPTS) book.xml
32
33 book.epub: $(SOURCE)
34 dbtoepub book.xml
35
36 book.html: $(SOURCE)
37 xmlto html-nochunks book.xml