update make file to support both a4 and letter page sizes for pdf output

This commit is contained in:
KemoNine 2023-06-17 11:02:14 -04:00
parent 427e3b117b
commit 9d5818839b

View file

@ -1,12 +1,19 @@
all: full_game all: full_game
full_game: release/mindfulness_the_game.pdf \ full_game: release/mindfulness_the_game_letter.pdf \
release/mindfulness_the_game_a4.pdf \
release/mindfulness_the_game.org release/mindfulness_the_game.org
release/mindfulness_the_game.pdf : mindfulness_the_game.md release/mindfulness_the_game_letter.pdf : mindfulness_the_game.md
pandoc --pdf-engine=xelatex \ pandoc --pdf-engine=xelatex \
-V papersize:letter \ -V papersize:letter \
-o release/mindfulness_the_game.pdf \ -o release/mindfulness_the_game_letter.pdf \
mindfulness_the_game.md
release/mindfulness_the_game_a4.pdf : mindfulness_the_game.md
pandoc --pdf-engine=xelatex \
-V papersize:a4 \
-o release/mindfulness_the_game_a4.pdf \
mindfulness_the_game.md mindfulness_the_game.md
release/mindfulness_the_game.org : mindfulness_the_game.md release/mindfulness_the_game.org : mindfulness_the_game.md