-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