From cc9c352e571fda2b793ad7976b5d712b401a8d97 Mon Sep 17 00:00:00 2001 From: Louis Burke Date: Sun, 25 Aug 2019 10:21:58 -0400 Subject: [PATCH] Added mini print rule. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 339909e..83994ff 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all clean check printrun cardrun decks +.PHONY: all clean check printrun cardrun decks prototype .PRECIOUS: %.pdf %.png GENERATED_DIR?=generated @@ -6,6 +6,7 @@ SENTINEL=$(GENERATED_DIR)/.sentinel default: check decks all: check decks export +prototype: mini # Check existence of necessary executables CONVERT:=$(shell command -v convert 2> /dev/null) @@ -79,6 +80,11 @@ instructions.pdf: instructions.tex instructions-anatomy.pdf $(XELATEX) -interaction=batchmode -halt-on-error --shell-escape --output-directory=$(@D) $< $(XELATEX) -interaction=batchmode -halt-on-error --shell-escape --output-directory=$(@D) $< # Twice, for TOC +mini: decks + pdfunite outputs/*.pdf tmp.pdf + pdfnup --nup 3x3 tmp.pdf --no-landscape --delta '0.5cm 0.5cm' --scale 0.9 -o outputs/mini_printrun.pdf + rm tmp.pdf + force-make: clean: