aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3995af0..3689b4b 100644
--- a/Makefile
+++ b/Makefile
@@ -13,9 +13,15 @@ $(BUILDDIR)/%.ps: designs/%.yaml
mkdir -p ${BUILDDIR}
./bin/render -o $@ $<
-$(BUILDDIR)/%.pdf: ${BUILDDIR}/%.ps
+$(BUILDDIR)/%-a4.pdf: ${BUILDDIR}/%-a4.ps
ps2pdf $< $@
+$(BUILDDIR)/%-a5.pdf: ${BUILDDIR}/%-a5.ps
+ ps2pdf -sPAPERSIZE=a5 $< $@
+
+$(BUILDDIR)/%-a6.pdf: ${BUILDDIR}/%-a6.ps
+ ps2pdf -sPAPERSIZE=a6 $< $@
+
clean:
rm -f ${BUILDDIR}/*.ps ${BUILDDIR}/*.pdf