aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/installing/original-drawings/Makefile
blob: cbfec2e008eb62e71e67afba9d3d5d90ad7e26ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SVG =
RASTERIMAGES = installation-steps installation-eclipse installation-netbeans \
	installation-intellij toolchain

RASTERSRCIMAGES := $(foreach file, $(RASTERIMAGES), $(file).svg)
RASTERIMAGES_HI := $(foreach file, $(RASTERIMAGES), ../img/$(file)-hi.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-page $<

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

FORCE: