21 lines
696 B
Makefile
21 lines
696 B
Makefile
BASENAME=scientificcomputing-script
|
|
|
|
SUBDIRS=programming statistics bootstrap likelihood pointprocesses spike_trains designpattern
|
|
# regression
|
|
|
|
pdf : $(BASENAME).pdf
|
|
for sd in $(SUBDIRS); do $(MAKE) -C $$sd/lecture pdf; done
|
|
|
|
$(BASENAME).pdf : $(BASENAME).tex header.tex
|
|
export TEXMFOUTPUT=.; pdflatex -interaction=scrollmode $< | tee /dev/stderr | fgrep -q "Rerun to get cross-references right" && pdflatex -interaction=scrollmode $< || true
|
|
|
|
clean :
|
|
rm -f *~ $(BASENAME).aux $(BASENAME).log $(BASENAME).out $(BASENAME).toc
|
|
for sd in $(SUBDIRS); do $(MAKE) -C $$sd/lecture clean; done
|
|
|
|
cleanall : clean
|
|
rm -f $(PDFFILE)
|
|
|
|
watch :
|
|
while true; do ! make -q pdf && make pdf; sleep 0.5; done
|