mindfulness-the-game/Makefile

95 lines
3 KiB
Makefile
Raw Normal View History

# Targets
#########
all: full condensed quick_reference
2023-06-05 13:28:47 +00:00
full: release/_mindfulness_the_game_letter.pdf \
release/_mindfulness_the_game_a4.pdf \
release/_mindfulness_the_game.org
condensed: release/condensed_mindfulness_the_game_letter.pdf \
release/condensed_mindfulness_the_game_a4.pdf \
2023-06-17 19:20:45 +00:00
release/condensed_mindfulness_the_game_a5.pdf \
release/condensed_mindfulness_the_game.org
quick_reference: release/quick_reference_a7.pdf \
release/quick_reference_business_card.pdf \
release/quick_reference.org
# Full Game
###########
release/_mindfulness_the_game_letter.pdf : mindfulness_the_game.md
pandoc --pdf-engine=xelatex \
-V papersize:letter \
-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
pandoc \
-o release/_mindfulness_the_game.org \
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
2023-06-17 19:20:45 +00:00
release/condensed_mindfulness_the_game_a5.pdf : condensed_mindfulness_the_game.md
pandoc --pdf-engine=xelatex \
-V papersize:a5 \
-o release/condensed_mindfulness_the_game_a5.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
# Quick Reference
#################
release/quick_reference_a7.pdf : quick_reference.md
pandoc --pdf-engine=xelatex \
-V geometry:papersize="{105mm,74mm}" \
-V geometry:left="5mm" \
-V geometry:right="5mm" \
-V geometry:top="10mm" \
-V geometry:bottom="10mm" \
-V fontsize=10pt \
-o release/quick_reference_a7.pdf \
quick_reference.md
release/quick_reference_business_card.pdf : quick_reference.md
pandoc --pdf-engine=xelatex \
-V geometry:papersize="{3.5in,2in}" \
-V geometry:left="2mm" \
-V geometry:right="2mm" \
-V geometry:top="2mm" \
-V geometry:bottom="2mm" \
-V fontsize=10pt \
-o release/quick_reference_business_card.pdf \
quick_reference.md
release/quick_reference.org : quick_reference.md
pandoc \
-o release/quick_reference.org \
quick_reference.md
# Misc
######
2023-06-05 13:28:47 +00:00
clean:
rm -r release/*