From 32e62462992ded8236e70a0512299044059ee3cb Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Tue, 7 Aug 2012 11:42:18 +0200 Subject: [PATCH 1/1] Derive name of .fo file from name of .pdf file. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b4015ce..2bb0f9d 100644 --- a/Makefile +++ b/Makefile @@ -68,10 +68,10 @@ html: freeculture.html freeculture.nb.html # This include images, but the index refs and footnote handling is # broken. xsltproc \ - --output myfile.fo \ + --output $(subst .pdf,.fo,$@) \ data/stylesheet-fo.xsl \ $< - fop -c data/fop-params.xconf -fo myfile.fo -pdf $@ + fop -c data/fop-params.xconf -fo $(subst .pdf,.fo,$@) -pdf $@ %.html: %.xml $(IMAGES) $(HTML_XSLT) xmlto \ -- 2.47.2