-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
50 lines (40 loc) · 969 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
39
40
41
42
43
44
45
46
47
48
49
# ./Makefile
# ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
LATEX:=xelatex
MD:=slides
LATEX_OPTIONS:=-shell-escape -8bit
BIBLIO:=biber
# ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
TARGET:=main
# ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
#
default: main
main:
@pandoc -t beamer -i $(MD).md -o $(MD).tex
@$(LATEX) $(LATEX_OPTIONS) $(TARGET)
## @$(BIBLIO) $(TARGET)
@$(LATEX) $(LATEX_OPTIONS) $(TARGET)
## @$(LATEX) $(LATEX_OPTIONS) $(TARGET)
@make clean
quick:
@$(LATEX) $(LATEX_OPTIONS) $(TARGET)
.PHONY: clean
clean:
@rm -f $(TARGET)-blx.bib \
$(TARGET).toc \
$(TARGET).aux \
$(TARGET).bbl \
$(TARGET).log \
$(TARGET).nav \
$(TARGET).out \
$(TARGET).snm \
$(TARGET).thm \
$(TARGET).run.xml \
$(TARGET).snm \
$(TARGET).vrb \
$(TARGET).bcf \
$(TARGET).blg \
$(TARGET).pyg \
missfont.log \
$(MD).tex \
*~