X-Git-Url: https://pere.pagekite.me/gitweb/text-angrefrist.git/blobdiff_plain/6847a3511a972257e9c1039a92883b96bf26e43a..96503f317fbba736a36fc9aa6b65fa06377bc6ff:/Makefile diff --git a/Makefile b/Makefile index a73348f..a669467 100644 --- a/Makefile +++ b/Makefile @@ -9,16 +9,16 @@ DBLATEX_OPTS = \ -V \ -p data/pdf.xsl -all: rapport.pdf rapport.epub +all: virkninger-angrefristloven.pdf virkninger-angrefristloven.epub -rapport.xml: *.adoc rapport-docinfo*.xml - asciidoctor -b docbook5 -d book rapport.adoc -rapport.pdf: rapport.xml +virkninger-angrefristloven.xml: *.adoc rapport-docinfo*.xml + asciidoctor -b docbook5 -d book rapport.adoc --out-file=$@ +virkninger-angrefristloven.pdf: virkninger-angrefristloven.xml $(DBLATEX) $(DBLATEX_OPTS) $< -rapport.epub: rapport.xml +virkninger-angrefristloven.epub: virkninger-angrefristloven.xml dbtoepub $^ -rapport-fop.fo: rapport.xml +virkninger-angrefristloven-fop.fo: virkninger-angrefristloven.xml xsltproc \ --output $(subst .pdf,.fo,$@).new \ data/stylesheet-fo.xsl \ @@ -26,10 +26,10 @@ rapport-fop.fo: rapport.xml xmllint --format $@.new > $@ $(RM) $@.new -rapport-fop.pdf: rapport-fop.fo +virkninger-angrefristloven-fop.pdf: virkninger-angrefristloven-fop.fo fop -c data/fop-params.xconf -fo $(subst .pdf,.fo,$@) -pdf $@ ; \ clean: $(RM) *~ distclean: - $(RM) rapport.xml rapport.pdf rapport.epub + $(RM) virkninger-angrefristloven.xml virkninger-angrefristloven.pdf virkninger-angrefristloven.epub