Target zum automatischen Bauen aller Ebenen aus tastatur_neo_alle_Ebenen.svg

This commit is contained in:
ben 2008-12-29 17:33:19 +00:00
parent d21ac7909a
commit 8b567614f8
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
SVGFILES=${wildcard *.svg} ${wildcard */*.svg} ${wildcard */*/*.svg}
SVGFILES=${wildcard *.svg} ${wildcard */*.svg} ${wildcard */*/*.svg} $(foreach i, 1 2 3 4 5 6, tastatur3d/tastatur_neo_Ebene${i}.svg)
PDFFILES=${addsuffix .pdf,${basename ${SVGFILES}}}
PNGFILES=${addsuffix .png,${basename ${SVGFILES}}}
@ -14,6 +14,9 @@ cleanpng:
cleanpdf:
rm -rf ${PDFFILES}
tastatur3d/tastatur_neo_Ebene%.svg: tastatur3d/tastatur_neo_alle_Ebenen.svg
/bin/echo -e '/inkscape:label="Ebene $*"\n.+1\ns/none/inline/g\nw $@'|ed $<
%.pdf: %.svg
inkscape --without-gui --export-pdf=$@ $<