summaryrefslogtreecommitdiffstats
path: root/images/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'images/Makefile')
-rw-r--r--images/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/images/Makefile b/images/Makefile
new file mode 100644
index 0000000..a983b31
--- /dev/null
+++ b/images/Makefile
@@ -0,0 +1,17 @@
+.SUFFIXES: .png .svg
+
+%.png: %.svg
+ batik -m image/png -h 768 -w 1024 -d `pwd`/$@ file://`pwd`/$<
+
+SVGFILES=watermark.svg
+PNGFILES=${SVGFILES:.svg=.png}
+
+all: ${PNGFILES}
+
+clean:
+
+distclean clobber: clean
+ ${RM} ${PNGFILES}
+
+check: ${PNGFILES}
+ xv ${PNGFILES}