X-Git-Url: https://pere.pagekite.me/gitweb/text-mekanikerord.git/blobdiff_plain/44ae2a4d4b25c376ab2a13555fea9b1c7afcf7c2..73a44fedf013b7c0c057dc12eeb253584b8f45da:/Makefile diff --git a/Makefile b/Makefile index 82b58c8..16fae40 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ -SOURCE = book.xml glossary.xml -all: book.pdf book.epub +SOURCE = book.xml glossary.xml pdf.xsl + +all: book.pdf book.epub book.html clean: $(RM) *~ @@ -11,11 +12,15 @@ XMLLINTOPTS = --nonet --noout --xinclude --postvalid lint: book.xml glossary.xml xmllint $(XMLLINTOPTS) book.xml +epubcheck: book.epub + epubcheck book.epub + +check: lint epubcheck + glossary.xml: make-glossary meksme-utf8.xml ./make-glossary DBLATEX_OPTS = \ - -T simple \ -b xetex \ --indexstyle=myindexstyle.ist \ -V \ @@ -27,3 +32,6 @@ book.pdf: $(SOURCE) book.epub: $(SOURCE) dbtoepub book.xml + +book.html: $(SOURCE) + xmlto html-nochunks book.xml