blob: 8d49864253c4d70f4cf8c23874ac6660ea002ddb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
SVG =
RASTERIMAGES = architecture
RASTERSRCIMAGES := $(foreach file, $(RASTERIMAGES), $(file).svg)
RASTERIMAGES := $(foreach file, $(RASTERIMAGES), ../img/$(file).png)
SVGTRGIMAGES := $(foreach file, $(SVG), ../img/$(file).svg)
images: $(RASTERIMAGES) $(SVGTRGIMAGES) FORCE
$(RASTERIMAGES): ../img/%.png: %.svg
inkscape --export-png $@ --export-dpi=300 --export-area-page $<
$(SVGTRGIMAGES): ../img/%.svg: %.svg FORCE
inkscape $< --export-text-to-path -l $@
FORCE:
|