velah/Makefile

15 lines
622 B
Makefile

all:
mkdir -p build
rm build/game.map || true
/home/alexander/Programming/gamebookformat/formatgamebook.py doc.gamebook build/game.tex
/home/alexander/Programming/gamebookformat/formatgamebook.py doc.gamebook build/game.dot
dot build/game.dot -Tpng >build/game.png
lualatex -interaction=nonstopmode -output-directory=build build/game.tex || true
lualatex -interaction=nonstopmode -output-directory=build build/game.tex
graph:
/home/alexander/Programming/gamebookformat/formatgamebook.py doc.gamebook build/game.dot
dot build/game.dot -Tpng >build/game.png
watch:
latexmk -pvc -pdf -jobname=build/game game.tex