X-Git-Url: https://pere.pagekite.me/gitweb/text-angrefrist.git/blobdiff_plain/256ddb310f3ec602f0b517d75b51342c7cf4cb63..f3cc03361ff9b48e43e1df7f31feb7de7e53bbc8:/Makefile 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