]> pere.pagekite.me Git - text-angrefrist.git/blobdiff - Makefile
Endret navn på genererte filer til virkninger-angrefristloven.*.
[text-angrefrist.git] / Makefile
index a73348f483d8b57988a43f7148171d7d151ba68f..a6694679d20e73157b562e58087787582bcebba6 100644 (file)
--- 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