13 lines
472 B
Makefile
13 lines
472 B
Makefile
all:
|
|
mkdir -p build
|
|
/home/alexander/Programming/gamebookformat/formatgamebook.py doc.gamebook build/game.tex
|
|
rm build/game.map
|
|
xelatex -interaction=nonstopmode -output-directory=build build/game.tex
|
|
xelatex -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
|