le Makefile exporte aussi les métadonnées
This commit is contained in:
parent
ca2a2ea434
commit
ed6a0911ea
1 changed files with 15 additions and 4 deletions
19
Makefile
19
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 $@ $<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue