-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
51 lines (39 loc) · 1.06 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
50
51
#------------------------------------------------------------------------------
# This is a makefile tailored to work on the latex documents for the beamer
# FLOW template.
#------------------------------------------------------------------------------
# Variables:
#
main = slides
TEX = pdflatex
TEX_FLAGS =
BIB = bibtex
BIB_FLAGS =
# Dependencies:
#
SRCS = beamerthemeflow.sty \
$(main).tex
AUXS = $(main).aux \
$(main).toc \
$(main).nav \
$(main).snm
BBLS = #$(main).bbl
# Rules:
#
default: all
all: $(main)
#
$(main): $(SRCS) $(AUXS) $(BBLS)
@echo building $(main) with $(TEX)
@$(TEX) $(TEX_FLAGS) -draftmode $(main) #> /dev/null
@$(TEX) $(TEX_FLAGS) $(main) #> /dev/null
$(AUXS): $(SRCS)
@echo building $(main) with $(TEX) [for $@]
@$(TEX) $(TEX_FLAGS) -draftmode $(main) #> /dev/null
%.bbl: %.aux $(main).bib
@echo building $@ with $(BIB)
@$(BIB) $(BIB_FLAGS) $(basename $@) #> /dev/null
#
clean:
@echo cleaning $(main)
@rm -f *.ps *.dvi *.aux *.auxlock *.toc *.log *.out *.bbl *.blg *.nav *.snm *~ *.syntex.gz