From c9ac8d8db5b5d55fb6ae804585bbe427fab3dedd Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 6 Mar 2019 23:24:49 +0000 Subject: [PATCH] wip prep paper sizes --- .gitignore | 6 +++--- Makefile | 33 +++++++++++++++++++-------------- 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 3ae92a1..f83527f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,11 +5,11 @@ opt.plag faces.plag .opt.plag.sums *.tmp -maxprintable.ps -minprintable.ps +maxprintable-*.ps +minprintable-*.ps board-b.ps board-mt.ps -boundings.ps +boundings-*.ps layout-test.ps layout-test-?.ps a4-test-?.ps diff --git a/Makefile b/Makefile index 9104aea..b7a620e 100644 --- a/Makefile +++ b/Makefile @@ -20,11 +20,16 @@ export PERL_PERTURB_KEYS=0 default: all -all: maxprintable.ps minprintable.ps boundings.ps \ - board-b.ps board-mt.ps \ - layout-test.ps \ - $(addprefix a4-test-,$(addsuffix .ps, b m t)) \ - $(addprefix layout-test-,$(addsuffix .ps, b m t)) +BOARDFILES= \ + $(addprefix maxprintable-, a3) \ + $(addprefix minprintable-, a3) \ + $(addprefix board-, b mt) \ + layout-test \ + $(addprefix a4-test-, b m t) \ + $(addprefix layout-test-, b m t) + + +all: $(addsuffix .ps, $(BOARDFILES)) cmyk.pdf: cmyk.ps Makefile ps2pdf -dAutoRotatePages=/None cmyk.ps $@.tmp && $i @@ -46,20 +51,20 @@ opt.plag: maybe-rerun-optim map.plag $(USE_PLAG_RELEASE) Makefile faces.plag: opt.plag $(USE_PLAG_DEBUG) Makefile $(USE_PLAG_DEBUG) RF $< W-FACES $@.tmp && $i -maxprintable.ps: generate-board faces.plag input-graph misc-data.pl Parse.pm - ./generate-board faces.plag input-graph $o +maxprintable-%.ps: generate-board faces.plag input-graph misc-data.pl Parse.pm + ./generate-board -Xp$* faces.plag input-graph $o -minprintable.ps: generate-board faces.plag input-graph misc-data.pl Parse.pm - ./generate-board -XbPrintableAll faces.plag input-graph $o +minprintable-%.ps: generate-board faces.plag input-graph misc-data.pl Parse.pm + ./generate-board -Xp$*,bPrintableAll faces.plag input-graph $o -boundings.ps: generate-board faces.plag input-graph misc-data.pl Parse.pm - ./generate-board -XB faces.plag input-graph $o +boundings-%.ps: generate-board faces.plag input-graph misc-data.pl Parse.pm + ./generate-board -XBp$* faces.plag input-graph $o board-b.ps: generate-board faces.plag input-graph misc-data.pl Parse.pm - ./generate-board -XbPageB faces.plag input-graph $o + ./generate-board -Xpa3,bPageB faces.plag input-graph $o board-mt.ps: generate-board faces.plag input-graph misc-data.pl Parse.pm - ./generate-board -XbPageMT faces.plag input-graph $o + ./generate-board -Xpa3,bPageMT faces.plag input-graph $o layout-test.ps: maxprintable.ps Makefile Parse.pm ./generate-board -XW faces.plag input-graph $o @@ -67,7 +72,7 @@ layout-test.ps: maxprintable.ps Makefile Parse.pm layout-test-%.ps: layout-test-prefix-%.ps layout-test.ps cat $^ $o -a4-test-%.ps: layout-test-prefix-%.ps maxprintable.ps +a4-test-%.ps: layout-test-prefix-%.ps maxprintable-a3.ps cat $^ $o #map.ps: map.dot -- 2.30.2