update make file to accomodate new form of game and make file names sort a bit better in the releases folder
This commit is contained in:
parent
5ca760edfd
commit
f7985df6d5
49
Makefile
49
Makefile
|
@ -1,25 +1,54 @@
|
||||||
all: full_game
|
# Targets
|
||||||
|
#########
|
||||||
|
all: full condensed
|
||||||
|
|
||||||
full_game: release/mindfulness_the_game_letter.pdf \
|
full: release/_mindfulness_the_game_letter.pdf \
|
||||||
release/mindfulness_the_game_a4.pdf \
|
release/_mindfulness_the_game_a4.pdf \
|
||||||
release/mindfulness_the_game.org
|
release/_mindfulness_the_game.org
|
||||||
|
|
||||||
release/mindfulness_the_game_letter.pdf : mindfulness_the_game.md
|
condensed: release/condensed_mindfulness_the_game_letter.pdf \
|
||||||
|
release/condensed_mindfulness_the_game_a4.pdf \
|
||||||
|
release/condensed_mindfulness_the_game.org
|
||||||
|
|
||||||
|
# Full Game
|
||||||
|
###########
|
||||||
|
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_letter.pdf \
|
-o release/_mindfulness_the_game_letter.pdf \
|
||||||
mindfulness_the_game.md
|
mindfulness_the_game.md
|
||||||
|
|
||||||
release/mindfulness_the_game_a4.pdf : mindfulness_the_game.md
|
release/_mindfulness_the_game_a4.pdf : mindfulness_the_game.md
|
||||||
pandoc --pdf-engine=xelatex \
|
pandoc --pdf-engine=xelatex \
|
||||||
-V papersize:a4 \
|
-V papersize:a4 \
|
||||||
-o release/mindfulness_the_game_a4.pdf \
|
-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
|
||||||
pandoc \
|
pandoc \
|
||||||
-o release/mindfulness_the_game.org \
|
-o release/_mindfulness_the_game.org \
|
||||||
mindfulness_the_game.md
|
mindfulness_the_game.md
|
||||||
|
|
||||||
|
# Condensed
|
||||||
|
###########
|
||||||
|
release/condensed_mindfulness_the_game_letter.pdf : condensed_mindfulness_the_game.md
|
||||||
|
pandoc --pdf-engine=xelatex \
|
||||||
|
-V papersize:letter \
|
||||||
|
-o release/condensed_mindfulness_the_game_letter.pdf \
|
||||||
|
condensed_mindfulness_the_game.md
|
||||||
|
|
||||||
|
release/condensed_mindfulness_the_game_a4.pdf : condensed_mindfulness_the_game.md
|
||||||
|
pandoc --pdf-engine=xelatex \
|
||||||
|
-V papersize:a4 \
|
||||||
|
-o release/condensed_mindfulness_the_game_a4.pdf \
|
||||||
|
condensed_mindfulness_the_game.md
|
||||||
|
|
||||||
|
release/condensed_mindfulness_the_game.org : condensed_mindfulness_the_game.md
|
||||||
|
pandoc \
|
||||||
|
-o release/condensed_mindfulness_the_game.org \
|
||||||
|
condensed_mindfulness_the_game.md
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
######
|
||||||
clean:
|
clean:
|
||||||
rm -r release/*
|
rm -r release/*
|
||||||
|
|
Loading…
Reference in a new issue