summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ffaab82..215c0ba 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@ GENERATE = python generate.py
GENERATE_OPTIONS =
INKSCAPE = /usr/bin/inkscape
INKSCAPE_OPTIONS = --export-dpi=300 --without-gui
+CONVERT = /usr/bin/convert
all: out.png
@@ -11,5 +12,11 @@ out.svg:
out.png: out.svg
$(INKSCAPE) $(INKSCAPE_OPTIONS) --export-area-canvas --export-png=out.png out.svg
+bleed16-under.png:
+ $(INKSCAPE) $(INKSCAPE_OPTIONS) --export-area-canvas --export-png=bleed16-under.png bleed16-under.svg
+
+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
+ rm -f out.svg out.png bleed16-under.png bleed16.png