Makefile: Abhängikeit zu anderen tex-Dateien hinzugefügt

This commit is contained in:
Jörg Thalheim 2013-10-31 11:08:55 +01:00
parent 3d1011854f
commit 6493078b2c
1 changed files with 2 additions and 1 deletions

View File

@ -4,12 +4,13 @@
./check_cmds.sh .inotifywait inotifywait
%.pdf: %.tex
latexmk -pdf $<
bericht.pdf: $(wildcard abschnitte/*.tex)
all: .cmd_ok bericht.pdf
clean:
latexmk -CA
watch: .inotifywait
echo "Abort with Ctrl+C"
while (true); do\
inotifywait -e MOVE_SELF -e "modify" bericht.tex;\
inotifywait -e MOVE_SELF -e "modify" abschnitte/*.tex bericht.tex;\
latexmk -pdf bericht.tex; \
done