summaryrefslogtreecommitdiffstats
path: root/documentation/application/original-drawings/Makefile
blob: b19e7881fd221657805c866ef5be3cf11e099d97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SVG =
RASTERIMAGES = application-architecture view-navigation ui-schematic \
	resource_classdiagram

RASTERSRCIMAGES := $(foreach file, $(RASTERIMAGES), $(file).svg)
RASTERIMAGES_HI := $(foreach file, $(RASTERIMAGES), ../img/$(file)-hi.png)
RASTERIMAGES_LO := $(foreach file, $(RASTERIMAGES), ../img/$(file)-lo.png)
SVGTRGIMAGES := $(foreach file, $(SVG), ../img/$(file).svg)

images: $(RASTERIMAGES_HI) $(SVGTRGIMAGES) FORCE
# Just do low now $(TRGIMAGES_LO)

$(RASTERIMAGES_HI): ../img/%-hi.png: %.svg
	inkscape --export-png $@ --export-dpi=300 --export-area-drawing $<

$(SVGTRGIMAGES): ../img/%.svg: %.svg FORCE
	inkscape $< --export-text-to-path -l $@

FORCE: