diff --git a/bericht/Makefile b/bericht/Makefile index 916276c..e004d80 100644 --- a/bericht/Makefile +++ b/bericht/Makefile @@ -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