summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Weller <ianweller@gmail.com>2008-08-03 23:03:15 -0500
committerIan Weller <ianweller@gmail.com>2008-08-03 23:03:15 -0500
commit6a89b4d2b0ec8fbac60d58363e102734d505c9fa (patch)
tree7d450d1eb22989dc4b90f3e303815d801cfbf4f0
parent19383a448b609f050fba72277c82be1a7e6eb6fc (diff)
downloadfedora-business-cards-6a89b4d2b0ec8fbac60d58363e102734d505c9fa.zip
fedora-business-cards-6a89b4d2b0ec8fbac60d58363e102734d505c9fa.tar.gz
fedora-business-cards-6a89b4d2b0ec8fbac60d58363e102734d505c9fa.tar.xz
Create crude Makefile
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7d1efbe
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+GENERATE = python generate.py
+GENERATE_OPTIONS =
+INKSCAPE = /usr/bin/inkscape
+INKSCAPE_OPTIONS = --export-dpi=300 --without-gui
+
+all: out.png
+
+out.svg:
+ $(GENERATE) $(GENERATE_OPTIONS)
+
+out.png: out.svg
+ $(INKSCAPE) $(INKSCAPE_OPTIONS) --export-area-canvas --export-png=out.png out.svg