First lecture on descriptive statistics
This commit is contained in:
18
statistics/lecture/Makefile
Normal file
18
statistics/lecture/Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
TEXFILES=$(wildcard *.tex)
|
||||
PDFFILES=$(TEXFILES:.tex=.pdf)
|
||||
|
||||
pdf : $(PDFFILES)
|
||||
|
||||
$(PDFFILES) : %.pdf : %.tex
|
||||
pdflatex -interaction=scrollmode $< | tee /dev/stderr | fgrep -q "Rerun to get cross-references right" && pdflatex -interaction=scrollmode $< || true
|
||||
|
||||
clean :
|
||||
rm -f *~ $(TEXFILES:.tex=.aux) $(TEXFILES:.tex=.log) $(TEXFILES:.tex=.out) $(TEXFILES:.tex=.nav) $(TEXFILES:.tex=.snm) $(TEXFILES:.tex=.toc) $(TEXFILES:.tex=.vrb)
|
||||
|
||||
cleanall : clean
|
||||
rm -f $(PDFFILES)
|
||||
|
||||
watch :
|
||||
while true; do ! make -q pdf && make pdf; sleep 0.5; done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user