ltcp/bericht/Makefile

24 lines
509 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 $<
2014-01-16 13:33:57 +00:00
2013-10-21 18:47:58 +00:00
all: .cmd_ok bericht.pdf
2014-01-16 13:33:57 +00:00
iozone:
make -C benchmarks all
2014-02-15 11:06:37 +00:00
TEX_FILES = $(shell find . -type f -name '*.tex')
bericht.pdf: $(TEX_FILES) $(wildcard bilder/*) iozone
2014-01-16 13:33:57 +00:00
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
2014-01-16 13:33:57 +00:00
.PHONY: all benchmarks clean