Makefile: Abhängikeit zu anderen tex-Dateien hinzugefügt
This commit is contained in:
parent
3d1011854f
commit
6493078b2c
@ -4,12 +4,13 @@
|
|||||||
./check_cmds.sh .inotifywait inotifywait
|
./check_cmds.sh .inotifywait inotifywait
|
||||||
%.pdf: %.tex
|
%.pdf: %.tex
|
||||||
latexmk -pdf $<
|
latexmk -pdf $<
|
||||||
|
bericht.pdf: $(wildcard abschnitte/*.tex)
|
||||||
all: .cmd_ok bericht.pdf
|
all: .cmd_ok bericht.pdf
|
||||||
clean:
|
clean:
|
||||||
latexmk -CA
|
latexmk -CA
|
||||||
watch: .inotifywait
|
watch: .inotifywait
|
||||||
echo "Abort with Ctrl+C"
|
echo "Abort with Ctrl+C"
|
||||||
while (true); do\
|
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; \
|
latexmk -pdf bericht.tex; \
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user