From: Petter Reinholdtsen Date: Sun, 16 Aug 2020 06:23:13 +0000 (+0200) Subject: Add html output and check target to make file. X-Git-Tag: published-en-nb-2021-07-17~70 X-Git-Url: https://pere.pagekite.me/gitweb/text-mekanikerord.git/commitdiff_plain/583ccfe719c1fef7e9423027b636b0d0d4b5e7fe Add html output and check target to make file. --- diff --git a/Makefile b/Makefile index d3fdf65..0e65b85 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ SOURCE = book.xml glossary.xml -all: book.pdf book.epub +all: book.pdf book.epub book.html clean: $(RM) *~ @@ -12,6 +12,11 @@ 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 @@ -27,3 +32,6 @@ book.pdf: $(SOURCE) book.epub: $(SOURCE) dbtoepub book.xml + +book.html: $(SOURCE) + xmlto html-nochunks book.xml