generated from Machine-Learning-Foundations/lecture_02_algebra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
27 lines (21 loc) · 782 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.PHONY : all latex bibtex view nonstop clean distclean
TARGET=presentation
SOURCE=$(TARGET).tex
BUILD=build
NONSTOP=-interaction nonstopmode -halt-on-error -file-line-error
all:
pdflatex --shell-escape -output-directory $(BUILD) $(SOURCE)
biber -output-directory $(BUILD) $(TARGET)
pdflatex --shell-escape -output-directory $(BUILD) $(SOURCE)
pdflatex --shell-escape -output-directory $(BUILD) $(SOURCE)
latex:
pdflatex --shell-escape -output-directory $(BUILD) $(SOURCE)
pdflatex --shell-escape -output-directory $(BUILD) $(SOURCE)
biber:
biber -output-directory $(BUILD) $(TARGET)
view:
open ./$(BUILD)/$(TARGET).pdf &
clean:
rm *.log *.nav *.out *.snm *.toc *.fls *.fdb_latexmk *.aux *.synctex.gz *.bbl *.bcf *.blg *.run.xml
rm -rf $(BUILD)
mkdir $(BUILD)