aboutsummaryrefslogtreecommitdiff
path: root/icons/Makefile
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2011-04-21 22:47:39 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2011-04-21 22:47:39 -0400
commit76898ff13a7ec08fc0eab0cfb6103eb8d2d61069 (patch)
tree632bee672bc7b67e0f1de7748506a21139479705 /icons/Makefile
parentdfee2b7a20b8c46e4c78e3361502b13743bdfa2c (diff)
downloadGradeBook-76898ff13a7ec08fc0eab0cfb6103eb8d2d61069.tar.gz
GradeBook-76898ff13a7ec08fc0eab0cfb6103eb8d2d61069.zip
added icons folder with svg sources
Ignore-this: 9e0277c87703dc29e21357d70588a851 darcs-hash:20110422024739-067c0-3cafdf1d7359bc16ae610b2a8718989470be2e11.gz
Diffstat (limited to 'icons/Makefile')
-rw-r--r--icons/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/icons/Makefile b/icons/Makefile
new file mode 100644
index 0000000..122a3bc
--- /dev/null
+++ b/icons/Makefile
@@ -0,0 +1,24 @@
+# -*- make -*-
+
+
+svg_targets = $(wildcard *.svg)
+pdf_targets = $(svg_targets:%.svg=%.pdf)
+png_targets = $(svg_targets:%.svg=%.png)
+
+png: $(png_targets)
+
+$(png_targets): %.png : %.svg
+ inkscape --export-png=$@ $<
+
+pdf: $(pdf_targets)
+
+
+$(pdf_targets): %.pdf : %.svg
+ inkscape --export-pdf=$@ $<
+
+clean:
+
+
+real_clean: clean
+ rm -f $(pdf_targets)
+