From 612a91ac3e0404e2954f9d5e5893225b8f171e4a Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Tue, 27 Jun 2017 18:45:53 +0200 Subject: Makefile: process different page sizes --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3