Fixed structure of regression files

This commit is contained in:
2015-11-02 11:07:23 +01:00
parent 90eff6e2f8
commit 8f0a7cd420
6 changed files with 22 additions and 6 deletions

View File

@@ -1,10 +1,10 @@
BASENAME=linear_regression
BASENAME=regression
PYFILES=$(wildcard *.py)
PYPDFFILES=$(PYFILES:.py=.pdf)
pdf : $(BASENAME).pdf $(PYPDFFILES)
$(BASENAME).pdf : $(BASENAME).tex
$(BASENAME).pdf : $(BASENAME)-chapter.tex
pdflatex -interaction=scrollmode $< | tee /dev/stderr | fgrep -q "Rerun to get cross-references right" && pdflatex -interaction=scrollmode $< || true
$(PYPDFFILES) : %.pdf : %.py