summaryrefslogtreecommitdiffstats
path: root/documentation/clientside/original-drawings/Makefile
diff options
context:
space:
mode:
authorMarko Gronroos <magi@vaadin.com>2016-03-18 15:52:20 +0200
committerMarko Gronroos <magi@vaadin.com>2016-03-18 15:52:20 +0200
commitef406ae250aa650a52111a60369d9f0796714b00 (patch)
tree79382008db7aec388bfdc41ea8885230fbefad64 /documentation/clientside/original-drawings/Makefile
parent3db9dc11b20c8c3ea256cd20478c70b07642cea7 (diff)
downloadvaadin-framework-ef406ae250aa650a52111a60369d9f0796714b00.tar.gz
vaadin-framework-ef406ae250aa650a52111a60369d9f0796714b00.zip
Fixed some missing images and broken xrefs, as well as problems in the getting-started chapter (#19639).
Change-Id: Ie8e371c059f70600bafcf781938ef35878f41324
Diffstat (limited to 'documentation/clientside/original-drawings/Makefile')
-rw-r--r--documentation/clientside/original-drawings/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/documentation/clientside/original-drawings/Makefile b/documentation/clientside/original-drawings/Makefile
new file mode 100644
index 0000000000..5479a473e9
--- /dev/null
+++ b/documentation/clientside/original-drawings/Makefile
@@ -0,0 +1,13 @@
+IMAGES = gwt-widgets
+
+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=150 --export-area-drawing $<
+
+FORCE: