summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-12-29 17:33:19 +0000
committerben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-12-29 17:33:19 +0000
commit5e027fbc1ae3265aebde5ad90f4dc66ef02b9d96 (patch)
tree31cbbcf949d5858e8eb2f6b7bcf061b5e4feb249
parent95cfc0d94edc148d6aeab5ee9b25126ed54f6782 (diff)
Target zum automatischen Bauen aller Ebenen aus tastatur_neo_alle_Ebenen.svg
git-svn-id: https://svn.neo-layout.org@1344 b9310e46-f624-0410-8ea1-cfbb3a30dc96
-rw-r--r--grafik/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/grafik/Makefile b/grafik/Makefile
index 9785628..e1efc4a 100644
--- a/grafik/Makefile
+++ b/grafik/Makefile
@@ -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=$@ $<