From: Petter Reinholdtsen Date: Tue, 31 Jul 2012 10:52:46 +0000 (+0200) Subject: Make to create new PDFs when the XSLT files changes. X-Git-Tag: edition-2015-10-10~1972 X-Git-Url: https://pere.pagekite.me/gitweb/text-free-culture-lessig.git/commitdiff_plain/302f18246a0d6a51faac599b911ee443779af3ce?ds=sidebyside Make to create new PDFs when the XSLT files changes. --- diff --git a/Makefile b/Makefile index 7cb3a5c..20c7c28 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,11 @@ DBTOEPUB = dbtoepub IMAGES = images/cc.png +XSLTS = \ + data/user_param.xsl \ + data/xetex_param.xsl \ + data/pdf.xsl + all: lint lint.nb html epub pdf freeculture.nb.po: freeculture.pot @@ -32,7 +37,7 @@ pdf: freeculture.nb.pdf freeculture.pdf epub: freeculture.nb.epub html: freeculture.html freeculture.nb.html -%.pdf: %.xml $(IMAGES) +%.pdf: %.xml $(IMAGES) $(XSLTS) $(DBLATEX) $< --param=lingua=nb # Alternative processing path to dblatex is to use xmlto using fop to