forked from cpp-linear-algebra/prior-art
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
38 lines (32 loc) · 920 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
28
29
30
31
32
33
34
35
36
37
38
DOCTITLE=prior-art-for-linear-algebra
ifndef VERBOSE
.SILENT:
endif
all: pdf
verbose: pdfverb
pdf: ${DOCTITLE}.tex clean
echo "Compiling TeX Document using PDFLaTeX..."
latexmk -pdf -interaction=nonstopmode \
-logfilewarnings- -quiet \
-outdir=build-pdf \
${DOCTITLE}.tex > /dev/null 2> /dev/null
echo "Cleaning up Files..."
latexmk -pdf -interaction=nonstopmode \
-logfilewarnings- -quiet \
-c -outdir=build-pdf \
${DOCTITLE}.tex > /dev/null 2> /dev/null
cp build-pdf/${DOCTITLE}.pdf ${DOCTITLE}.pdf
echo "PDF File Generated..."
pdfverb: ${DOCTITLE}.tex clean
echo "Compiling TeX Document using PDFLaTeX..."
latexmk -pdf -interaction=nonstopmode \
-outdir=build-pdf \
${DOCTITLE}.tex
echo "Cleaning up Files..."
latexmk -pdf -interaction=nonstopmode \
-c -outdir=build-pdf \
${DOCTITLE}.tex
cp build-pdf/${DOCTITLE}.pdf ${DOCTITLE}.pdf
echo "PDF File Generated..."
clean:
./clean.sh