root/grafik/Makefile @ 1342

Revision 1342, 457 bytes (checked in by erik, 4 years ago)

das war doppelt im makefile, sicher keine absicht

Line 
1SVGFILES=${wildcard *.svg} ${wildcard */*.svg} ${wildcard */*/*.svg}
2
3PDFFILES=${addsuffix .pdf,${basename ${SVGFILES}}}
4PNGFILES=${addsuffix .png,${basename ${SVGFILES}}}
5
6pdf: ${PDFFILES}
7png: ${PNGFILES}
8
9clean: cleanpng cleanpdf
10
11cleanpng:
12        rm -rf ${PNGFILES}
13
14cleanpdf:
15        rm -rf ${PDFFILES}
16
17%.pdf: %.svg
18        inkscape --without-gui --export-pdf=$@ $<
19
20%.png: %.svg
21        inkscape --without-gui --export-png=$@ -w1000 $<
22
23.PHONY: clean cleanpng cleanpdf pdf png
Note: See TracBrowser for help on using the browser.