From f3cc03361ff9b48e43e1df7f31feb7de7e53bbc8 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Wed, 11 Oct 2023 14:33:58 +0200 Subject: [PATCH] Switch to asciidoctor for PDF and ePub generation. --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 76063e6..82219a1 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,13 @@ -all: test.pdf - a2x -d book -f pdf test.adoc || dblatex test.xml +all: rapport.pdf rapport.epub + +rapport.xml: *.adoc + asciidoctor -b docbook5 -d book rapport.adoc +rapport.pdf: rapport.xml + dblatex $^ +rapport.epub: rapport.xml + dbtoepub $^ clean: $(RM) *~ +distclean: + $(RM) rapport.xml rapport.pdf rapport.epub -- 2.47.2