summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 4ed0d95a57fbfa31ea72ab5390eb13c8180a0636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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)