aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-06-27 18:45:53 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-06-27 18:45:53 +0200
commit612a91ac3e0404e2954f9d5e5893225b8f171e4a (patch)
tree64d6109b78cac9530c20608911bfdad453f058a1 /Makefile
parent80917a891aed1b10cf75b5a4d3f82012987097de (diff)
Makefile: process different page sizes
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