Added mini print rule.
This commit is contained in:
parent
6c57ad1b93
commit
cc9c352e57
8
Makefile
8
Makefile
|
@ -1,4 +1,4 @@
|
||||||
.PHONY: all clean check printrun cardrun decks
|
.PHONY: all clean check printrun cardrun decks prototype
|
||||||
.PRECIOUS: %.pdf %.png
|
.PRECIOUS: %.pdf %.png
|
||||||
|
|
||||||
GENERATED_DIR?=generated
|
GENERATED_DIR?=generated
|
||||||
|
@ -6,6 +6,7 @@ SENTINEL=$(GENERATED_DIR)/.sentinel
|
||||||
|
|
||||||
default: check decks
|
default: check decks
|
||||||
all: check decks export
|
all: check decks export
|
||||||
|
prototype: mini
|
||||||
|
|
||||||
# Check existence of necessary executables
|
# Check existence of necessary executables
|
||||||
CONVERT:=$(shell command -v convert 2> /dev/null)
|
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) $<
|
||||||
$(XELATEX) -interaction=batchmode -halt-on-error --shell-escape --output-directory=$(@D) $< # Twice, for TOC
|
$(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:
|
force-make:
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in a new issue