forked from spratt/VM-Slides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
executable file
·49 lines (35 loc) · 1.19 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
######################################################################
# BeamerTemplate Makefile
# By Simon Pratt
# February 15, 2016
######################################################################
MAIN_FILE = slides
FIGURES = figures/linux1.png \
figures/linux2.png \
figures/linux3.png \
figures/linux4.png \
figures/uvm.png
STYLES_DIR = styles
STYLES = Assignment \
CGAlgorithms \
HeaderStuff \
QuestionAnswer \
TheoremStuff \
Presentation
######################################################################
# Modify the following at your own risk
######################################################################
.PHONY: open clean
MAIN_TEX = ${MAIN_FILE}.tex
PARTS_TEX = ${addsuffix .tex,${PARTS}}
STYLES_STY = ${addprefix ${STYLES_DIR}/,${addsuffix .sty,${STYLES}}}
PDF = ${MAIN_FILE}.pdf
${PDF}: ${MAIN_TEX} ${PARTS_TEX} ${FIGURES} ${STYLES_STY}
# if your open program isn't listed, OR (||) it to the end
open: ${PDF}
open $< || gnome-open $<
%.pdf: %.tex
rubber -d $<
# add stuff to delete here
clean:
rm -f *.log *.aux *.dvi *.blg *.bbl *.nav *.out *.snm *.toc ${PDF}