geometromap/Makefile
2011-11-18 22:54:52 +01:00

17 lines
272 B
Makefile

MAPS=geometromap
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)