18 lines
800 B
Makefile
18 lines
800 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
|
|
|
|
tex:
|
|
/home/alexander/Programming/gamebookformat/formatgamebook.py doc.gamebook build/game.tex
|
|
lualatex -interaction=nonstopmode -output-directory=build build/game.tex || true
|
|
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
|