From 302f18246a0d6a51faac599b911ee443779af3ce Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Tue, 31 Jul 2012 12:52:46 +0200 Subject: [PATCH] Make to create new PDFs when the XSLT files changes. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.51.0