comparison ui/img/src/Makefile @ 1213:57879b3ae12a

Icons, src: Small Makefile improvement.
author Bernhard Reiter <bernhard@intevation.de>
date Tue, 23 Sep 2014 21:23:42 +0200
parents b64f847bde09
children
comparison
equal deleted inserted replaced
1212:554d08942082 1213:57879b3ae12a
1 # Makefile inspired from oxygen-icons-4.13.0/scalable/export_pngs.sh 1 # Makefile inspired from oxygen-icons-4.13.0/scalable/export_pngs.sh
2 # needs ImageMagick and Inkscape 2 # needs ImageMagick and Inkscape
3 3
4 svgs := $(wildcard *.svg) 4 svgs := $(wildcard *.svg)
5 5
6 targets := $(patsubst %.svg,%-48.png,$(svgs)) 6 targets := $(patsubst %.svg,%-48.png,$(svgs)) do-changes-16.png
7 7
8 all: $(targets) do-changes-16.png 8 all: $(targets)
9 9
10 clean: 10 clean:
11 rm $(targets) $(patsubst %.svg,%.png,$(svgs)) 11 rm $(targets) $(patsubst %.svg,%.png,$(svgs))
12 12
13 %-48.png:%.svg 13 %-48.png:%.svg

http://wald.intevation.org/projects/trustbridge/