From ed6a0911ea9574a147f5d321a7cfaf08cdc36143 Mon Sep 17 00:00:00 2001 From: nojhan Date: Fri, 18 Nov 2011 22:54:52 +0100 Subject: [PATCH] =?UTF-8?q?le=20Makefile=20exporte=20aussi=20les=20m=C3=A9?= =?UTF-8?q?tadonn=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index bb7464e..0b95bf6 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,17 @@ -MAPS=geometromap geometromap_solarized +MAPS=geometromap -all: $(addsuffix .pdf,$(MAPS)) +TMPDFs=$(addprefix tmp_, $(addsuffix .pdf, $(MAPS))) +PDFs=$(addsuffix .pdf, $(MAPS)) + +all: $(PDFs) + +%.pdf: %.svg meta.data + inkscape -A tmp_$@ $< + pdftk tmp_$@ update_info meta.data output $@ + +cleantmp: + rm -f $(TMPDFs) + +clean: cleantmp + rm -f $(PDFs) -%.pdf: %.svg - inkscape -A $@ $<