ltcp/bericht/Makefile

24 lines
462 B
Makefile
Raw Permalink 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\
2014-03-29 09:10:25 +00:00
inotifywait -e modify -r . ;\
latexmk -pdf bericht.tex; \
done
2014-01-16 13:33:57 +00:00
.PHONY: all benchmarks clean