From d9e0ac6b37c5926c6c9f49676f54542a068a5df5 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 29 Dec 2008 14:07:40 +0000 Subject: Makefile zum erstellen von pngs oder pdfs hinzugefĆ¼gt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.neo-layout.org@1337 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- grafik/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 grafik/Makefile (limited to 'grafik/Makefile') 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 -- cgit v1.2.3