diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2017-06-27 18:45:53 +0200 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2017-06-27 18:45:53 +0200 |
commit | 612a91ac3e0404e2954f9d5e5893225b8f171e4a (patch) | |
tree | 64d6109b78cac9530c20608911bfdad453f058a1 | |
parent | 80917a891aed1b10cf75b5a4d3f82012987097de (diff) |
Makefile: process different page sizes
-rw-r--r-- | Makefile | 8 | ||||
-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
@@ -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 |