diff options
Diffstat (limited to 'documentation/layout/original-drawings/Makefile')
-rw-r--r-- | documentation/layout/original-drawings/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/documentation/layout/original-drawings/Makefile b/documentation/layout/original-drawings/Makefile new file mode 100644 index 0000000000..7e9434de9c --- /dev/null +++ b/documentation/layout/original-drawings/Makefile @@ -0,0 +1,17 @@ +SVG = +RASTERIMAGES = layout-schematic + +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-drawing $< + +$(SVGTRGIMAGES): ../img/%.svg: %.svg FORCE + inkscape $< --export-text-to-path -l $@ + +FORCE: |