ltcp/bericht/Makefile

17 lines
422 B
Makefile
Raw Normal View History

2013-10-21 18:47:58 +00:00
.cmd_ok:
./check_cmds.sh .cmd_ok rsync latexmk
.inotifywait:
./check_cmds.sh .inotifywait inotifywait
2013-10-21 18:47:58 +00:00
%.pdf: %.tex
latexmk -pdf $<
2013-10-31 10:20:45 +00:00
bericht.pdf: $(wildcard abschnitte/*.tex) $(wildcard bilder/*)
2013-10-21 18:47:58 +00:00
all: .cmd_ok bericht.pdf
clean:
latexmk -CA
watch: .inotifywait
echo "Abort with Ctrl+C"
while (true); do\
2013-10-31 10:20:45 +00:00
inotifywait -e MOVE_SELF -e "modify" abschnitte/*.tex bilder/* bericht.tex;\
latexmk -pdf bericht.tex; \
done