From 9d5818839bcc3be011cee812e4e06257c13bf55d Mon Sep 17 00:00:00 2001 From: KemoNine Date: Sat, 17 Jun 2023 11:02:14 -0400 Subject: [PATCH] update make file to support both a4 and letter page sizes for pdf output --- Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 33931ae..0e99b5c 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,19 @@ 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.pdf : mindfulness_the_game.md +release/mindfulness_the_game_letter.pdf : mindfulness_the_game.md pandoc --pdf-engine=xelatex \ -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 release/mindfulness_the_game.org : mindfulness_the_game.md