summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4ed0d95
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+# NB: This currently does nothing, as all assets are manually rasterized.
+RESOLUTION = 300
+
+SRCS = brochure-outside.svg brochure-inside.svg
+OBJS = $(SRCS:.svg=.pdf)
+OUT = brochure.pdf
+
+.SUFFIXES:
+.SUFFIXES: .svg .pdf
+
+default: $(OUT)
+
+.svg.pdf:
+ inkscape --export-dpi=$(RESOLUTION) --export-pdf=$@ $<
+
+$(OUT): $(OBJS)
+ gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=$@ $(OBJS)
+
+clean:
+ rm -f $(OBJS) $(OUT)