summaryrefslogtreecommitdiffstats
path: root/documentation/components/original-drawings/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/components/original-drawings/Makefile')
-rw-r--r--documentation/components/original-drawings/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/documentation/components/original-drawings/Makefile b/documentation/components/original-drawings/Makefile
new file mode 100644
index 0000000000..a351918743
--- /dev/null
+++ b/documentation/components/original-drawings/Makefile
@@ -0,0 +1,13 @@
+IMAGES = slider-example1 field-interface-v8 field-diagram
+
+SRCIMAGES := $(foreach file, $(IMAGES), $(file).svg)
+TRGIMAGES_HI := $(foreach file, $(IMAGES), ../img/$(file)-hi.png)
+TRGIMAGES_LO := $(foreach file, $(IMAGES), ../img/$(file)-lo.png)
+
+images: $(TRGIMAGES_HI) FORCE
+# Just do low now $(TRGIMAGES_LO)
+
+$(TRGIMAGES_HI): ../img/%-hi.png: %.svg
+ inkscape --export-png $@ --export-dpi=300 --export-area-page $<
+
+FORCE: