From 583ccfe719c1fef7e9423027b636b0d0d4b5e7fe Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Sun, 16 Aug 2020 08:23:13 +0200 Subject: [PATCH] Add html output and check target to make file. --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- 2.47.2