summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Weller <ianweller@gmail.com>2008-08-09 03:48:48 -0500
committerIan Weller <ianweller@gmail.com>2008-08-09 03:48:48 -0500
commit1d73b069fb2dde02b302961cf9ed32d3d36b3bd7 (patch)
tree8ac53a11212a30e053b63589e20681104b8e19f2
parent8025c1d18145998fd882fb8a315bd3facc35a7c0 (diff)
downloadfedora-business-cards-1d73b069fb2dde02b302961cf9ed32d3d36b3bd7.zip
fedora-business-cards-1d73b069fb2dde02b302961cf9ed32d3d36b3bd7.tar.gz
fedora-business-cards-1d73b069fb2dde02b302961cf9ed32d3d36b3bd7.tar.xz
Add back.png to Makefile and fix things
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 215c0ba..1df564b 100644
--- a/Makefile
+++ b/Makefile
@@ -4,19 +4,22 @@ INKSCAPE = /usr/bin/inkscape
INKSCAPE_OPTIONS = --export-dpi=300 --without-gui
CONVERT = /usr/bin/convert
-all: out.png
+all: out.png back.png
out.svg:
$(GENERATE) $(GENERATE_OPTIONS)
out.png: out.svg
- $(INKSCAPE) $(INKSCAPE_OPTIONS) --export-area-canvas --export-png=out.png out.svg
+ $(INKSCAPE) $(INKSCAPE_OPTIONS) --export-area-canvas --export-png=$@ $<
+
+back.png: back.svg
+ $(INKSCAPE) $(INKSCAPE_OPTIONS) --export-area-canvas --export-png=$@ $<
bleed16-under.png:
- $(INKSCAPE) $(INKSCAPE_OPTIONS) --export-area-canvas --export-png=bleed16-under.png bleed16-under.svg
+ $(INKSCAPE) $(INKSCAPE_OPTIONS) --export-area-canvas --export-png=$@ $<
bleed16.png: out.png bleed16-under.png
$(CONVERT) bleed16-under.png out.png -geometry +19+19 -composite bleed16.png
clean:
- rm -f out.svg out.png bleed16-under.png bleed16.png
+ rm -f out.svg out.png bleed16-under.png bleed16.png back.png