diff options
author | ben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2008-12-29 14:07:40 +0000 |
---|---|---|
committer | ben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2008-12-29 14:07:40 +0000 |
commit | d9e0ac6b37c5926c6c9f49676f54542a068a5df5 (patch) | |
tree | 60d031fc3fe08e942c53312a34a22d6f3c1546ee /grafik/Makefile | |
parent | f97347e155a1bdcabd63bd6fbf611d5decf16831 (diff) |
Makefile zum erstellen von pngs oder pdfs hinzugefügt
git-svn-id: https://svn.neo-layout.org@1337 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to '')
-rw-r--r-- | grafik/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/grafik/Makefile b/grafik/Makefile new file mode 100644 index 0000000..4193edb --- /dev/null +++ b/grafik/Makefile @@ -0,0 +1,23 @@ +SVGFILES=${wildcard tastatur2d-svg/*.svg} ${wildcard tastatur3d-svg/*.svg} + +PDFFILES=${addsuffix .pdf,${basename ${SVGFILES}}} +PNGFILES=${addsuffix .png,${basename ${SVGFILES}}} + +pdf: ${PDFFILES} +png: ${PNGFILES} + +clean: cleanpng cleanpdf + +cleanpng: + rm -rf ${PNGFILES} + +cleanpdf: + rm -rf ${PDFFILES} + +%.pdf: %.svg + inkscape --export-pdf=$@ $< + +%.png: %.svg + inkscape --export-png=$@ -w1000 $< + +.PHONY: clean cleanpng cleanpdf pdf png |