]> pere.pagekite.me Git - text-mekanikerord.git/blobdiff - Makefile
Add pdf.xsl to source list.
[text-mekanikerord.git] / Makefile
index 82b58c812e416b4d2a37924465558fe54cee2638..16fae4011dac33c76b34a6956a68152f7c5d4138 100644 (file)
--- 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) *~
 
 clean:
        $(RM) *~
@@ -11,11 +12,15 @@ XMLLINTOPTS = --nonet --noout  --xinclude --postvalid
 lint: book.xml glossary.xml
        xmllint $(XMLLINTOPTS) book.xml
 
 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 = \
 glossary.xml: make-glossary meksme-utf8.xml
        ./make-glossary
 
 DBLATEX_OPTS = \
-       -T simple \
        -b xetex \
        --indexstyle=myindexstyle.ist \
        -V \
        -b xetex \
        --indexstyle=myindexstyle.ist \
        -V \
@@ -27,3 +32,6 @@ book.pdf: $(SOURCE)
 
 book.epub: $(SOURCE)
        dbtoepub book.xml
 
 book.epub: $(SOURCE)
        dbtoepub book.xml
+
+book.html: $(SOURCE)
+       xmlto html-nochunks book.xml