28 lines
729 B
Makefile
28 lines
729 B
Makefile
|
all: clue-weapons.pdf
|
||
|
all: clue-cards-suspects.pdf
|
||
|
all: clue-cards-rooms.pdf
|
||
|
all: clue-sheets.pdf
|
||
|
all: clue-board-parts-all.pdf
|
||
|
|
||
|
%.pdf: %.svg
|
||
|
inkscape --export-area-drawing -o $@ $<
|
||
|
%.pdf: src/%.svg
|
||
|
inkscape -o $@ $<
|
||
|
|
||
|
BOARD_WIDTH=$(shell inkscape --query-width src/clue-board.svg)
|
||
|
BOARD_HEIGHT=$(shell inkscape --query-height src/clue-board.svg)
|
||
|
|
||
|
clue-board-parts-all.pdf: clue-board-part-0.pdf
|
||
|
clue-board-parts-all.pdf: clue-board-part-1.pdf
|
||
|
clue-board-parts-all.pdf: clue-board-part-2.pdf
|
||
|
clue-board-parts-all.pdf: clue-board-part-3.pdf
|
||
|
clue-board-parts-all.pdf: clue-board-part-4.pdf
|
||
|
pdfunite $+ $@
|
||
|
|
||
|
clue-board-part-%.svg: src/clue-board.svg board-parts.py
|
||
|
python3 board-parts.py $<
|
||
|
|
||
|
|
||
|
clean:
|
||
|
rm -f board-part-*.svg *.pdf
|