root makefile calls subdirectories
This commit is contained in:
parent
5c185a0d90
commit
90eff6e2f8
7
Makefile
7
Makefile
@ -1,17 +1,20 @@
|
|||||||
BASENAME=scientificcomputing-script
|
BASENAME=scientificcomputing-script
|
||||||
|
|
||||||
|
SUBDIRS=programming statistics bootstrap likelihood pointprocesses spike_trains designpattern
|
||||||
|
# regression
|
||||||
|
|
||||||
pdf : $(BASENAME).pdf
|
pdf : $(BASENAME).pdf
|
||||||
|
for sd in $(SUBDIRS); do $(MAKE) -C $$sd/lecture pdf; done
|
||||||
|
|
||||||
$(BASENAME).pdf : $(BASENAME).tex header.tex
|
$(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
|
export TEXMFOUTPUT=.; pdflatex -interaction=scrollmode $< | tee /dev/stderr | fgrep -q "Rerun to get cross-references right" && pdflatex -interaction=scrollmode $< || true
|
||||||
|
|
||||||
clean :
|
clean :
|
||||||
rm -f *~ $(BASENAME).aux $(BASENAME).log $(BASENAME).out $(BASENAME).toc
|
rm -f *~ $(BASENAME).aux $(BASENAME).log $(BASENAME).out $(BASENAME).toc
|
||||||
|
for sd in $(SUBDIRS); do $(MAKE) -C $$sd/lecture clean; done
|
||||||
|
|
||||||
cleanall : clean
|
cleanall : clean
|
||||||
rm -f $(PDFFILE)
|
rm -f $(PDFFILE)
|
||||||
|
|
||||||
watch :
|
watch :
|
||||||
while true; do ! make -q pdf && make pdf; sleep 0.5; done
|
while true; do ! make -q pdf && make pdf; sleep 0.5; done
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user