Added mini print rule.

This commit is contained in:
Louis Burke 2019-08-25 10:21:58 -04:00
parent 6c57ad1b93
commit cc9c352e57

View file

@ -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: