aboutsummaryrefslogtreecommitdiff
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
parent80917a891aed1b10cf75b5a4d3f82012987097de (diff)
Makefile: process different page sizes
-rw-r--r--Makefile8
-rw-r--r--designs/graph-paper-4mm-rings-a6.yaml (renamed from designs/graph-paper-4mm-a6-rings.yaml)0
-rw-r--r--designs/hex-paper-5mm-rings-a6.yaml (renamed from designs/hex-paper-5mm-a6-rings.yaml)0
3 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
diff --git a/designs/graph-paper-4mm-a6-rings.yaml b/designs/graph-paper-4mm-rings-a6.yaml
index 88ecb40..88ecb40 100644
--- a/designs/graph-paper-4mm-a6-rings.yaml
+++ b/designs/graph-paper-4mm-rings-a6.yaml
diff --git a/designs/hex-paper-5mm-a6-rings.yaml b/designs/hex-paper-5mm-rings-a6.yaml
index 116a47a..116a47a 100644
--- a/designs/hex-paper-5mm-a6-rings.yaml
+++ b/designs/hex-paper-5mm-rings-a6.yaml