24 lines
496 B
Makefile
24 lines
496 B
Makefile
|
.PHONY: clean, all
|
||
|
|
||
|
DOC_NAME=document
|
||
|
BEAMER_NAME=presentation
|
||
|
|
||
|
all: render render_beamer
|
||
|
|
||
|
render_beamer:
|
||
|
pdflatex ${BEAMER_NAME}.tex
|
||
|
# Default: Not used for beamer presentations
|
||
|
#bibtex ${BEAMER_NAME}
|
||
|
#pdflatex ${BEAMER_NAME}.tex
|
||
|
pdflatex ${BEAMER_NAME}.tex
|
||
|
|
||
|
render:
|
||
|
pdflatex ${DOC_NAME}.tex
|
||
|
bibtex ${DOC_NAME}
|
||
|
pdflatex ${DOC_NAME}.tex
|
||
|
pdflatex ${DOC_NAME}.tex
|
||
|
|
||
|
clean:
|
||
|
rm -f *.aux *.bbl *.blg *.dvi *.log *.lol *.lot *.lof *.nav *.snm *.toc *.out *.synctex.gz *.bak *.vrb
|
||
|
rm -f *.pdf
|