blob: 51888dbf7fe1fdde600d4d4a9ae99b50b9d97720 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
SVGS = $(wildcard *.svg)
PNGS = $(SVGS:%.svg=../gtk-3.0/img/%.png) $(SVGS:%.svg=../gtk-3.0/img/%@2.png)
all: $(PNGS)
clean:
-rm -f $(PNGS)
../gtk-3.0/img/%.png: %.svg
inkscape --without-gui --export-dpi=90 --export-background-opacity=0 --export-png=$@ $<
../gtk-3.0/img/%@2.png: %.svg
inkscape --without-gui --export-dpi=180 --export-background-opacity=0 --export-png=$@ $<
|