forked from vgXhc/10-meeting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (28 loc) · 725 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
LATEX=pdflatex
BIBTEX=bibtex
STEM=10-meeting
all : commands
## commands : show all commands.
commands :
@grep -E '^##' Makefile | sed -e 's/## //g'
## pdf : re-generate PDF
pdf :
${LATEX} ${STEM}
${BIBTEX} ${STEM}
${LATEX} ${STEM}
${LATEX} ${STEM}
## build : build HTML files.
build :
jekyll build
## clean : clean up junk files.
clean :
@rm -rf _site
@find . -name '*~' -exec rm {} \;
@find . -name '*.aux' -exec rm {} \;
@find . -name '*.bak' -exec rm {} \;
@find . -name '*.bbl' -exec rm {} \;
@find . -name '*.blg' -exec rm {} \;
@find . -name '*.dvi' -exec rm {} \;
@find . -name '*.log' -exec rm {} \;
@find . -name '*.out' -exec rm {} \;
@find . -name .DS_Store -exec rm {} \;