X-Git-Url: https://pere.pagekite.me/gitweb/text-angrefrist.git/blobdiff_plain/2b336bcd30061daa34767b914d933e969e62383d..1a256c91c5ea237a98fb75ec58bc7ecf15d4074b:/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