From 0ed2859a9b158de8abcea2c80b83a12ae65e922d Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Wed, 20 Mar 2019 09:24:14 +0100 Subject: Verso version of all PDFs --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e35380d..4f39971 100644 --- a/Makefile +++ b/Makefile @@ -5,12 +5,16 @@ PS_TARGETS = $(patsubst designs/%.yaml,$(BUILDDIR)/%.ps,$(wildcard designs/*.yam PDF_TARGETS = $(patsubst designs/%.yaml,$(BUILDDIR)/%.pdf,$(wildcard designs/*.yaml)) NUP4_TARGETS = $(patsubst designs/%.yaml,$(BUILDDIR)/%-nup4.pdf,$(wildcard designs/*-a6.yaml)) NUP2_TARGETS = $(patsubst designs/%.yaml,$(BUILDDIR)/%-nup2.pdf,$(wildcard designs/*-a5.yaml)) +VERSO_TARGETS = $(patsubst designs/%.yaml,$(BUILDDIR)/%-v.pdf,$(wildcard designs/*.yaml)) +VERSO_NUP4_TARGETS = $(patsubst designs/%.yaml,$(BUILDDIR)/%-nup4-v.pdf,$(wildcard designs/*-a6.yaml)) +VERSO_NUP2_TARGETS = $(patsubst designs/%.yaml,$(BUILDDIR)/%-nup2-v.pdf,$(wildcard designs/*-a5.yaml)) .PHONY: all ps pdf clean -all: pdf nup +all: pdf nup verso ps: $(PS_TARGETS) pdf: $(PDF_TARGETS) nup: $(NUP4_TARGETS) $(NUP2_TARGETS) +verso: $(VERSO_TARGETS) $(VERSO_NUP4_TARGETS) $(VERSO_NUP2_TARGETS) $(BUILDDIR)/%.ps: designs/%.yaml mkdir -p ${BUILDDIR} @@ -34,6 +38,9 @@ $(BUILDDIR)/%-a5-nup2.pdf: $(BUILDDIR)/%-a5.pdf $(BUILDDIR)/%-a6-nup4.pdf: $(BUILDDIR)/%-a6.pdf pdfnup --nup 2x2 --no-landscape -o $@ $< '1,1,1,1' +$(BUILDDIR)/%-v.pdf: $(BUILDDIR)/%.pdf + pdfjam --reflect true -o $@ $< + clean: rm -f ${BUILDDIR}/*.ps ${BUILDDIR}/*.pdf -- cgit v1.2.3