comparison ui/img/src/Makefile @ 1211:b64f847bde09

(issue121) icon, new version for the do-changes button.
author Bernhard Reiter <bernhard@intevation.de>
date Tue, 23 Sep 2014 20:44:31 +0200
parents 76c469b460d8
children 57879b3ae12a
comparison
equal deleted inserted replaced
1210:c339dd33c311 1211:b64f847bde09
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))
7 7
8 all: $(targets) 8 all: $(targets) do-changes-16.png
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
14 inkscape --without-gui "--export-png=$*.png" --export-dpi=72 --export-background-opacity=0 --export-width=512 --export-height=512 "$<" >/dev/null 14 inkscape --without-gui "--export-png=$*.png" --export-dpi=72 --export-background-opacity=0 --export-width=512 --export-height=512 "$<" >/dev/null
15 convert -filter Sinc -resize 48x48 "$*.png" "$@" 15 convert -filter Sinc -resize 48x48 "$*.png" "$@"
16 16
17 %-16.png:%.svg
18 inkscape --without-gui "--export-png=$@" --export-dpi=72 --export-background-opacity=0 --export-width=16 --export-height=16 "$<" >/dev/null
19

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