mastercolloquium/Makefile

27 lines
735 B
Makefile

.PHONY: default
SHELL=/bin/bash
MA_KO_NAME="MA-KO-Master"
MA_KO_NAME_FINAL="Kolloquium Masterarbeit IPv6-VPN"
# Custom command enhancements
PDFLATEX=pdflatex -interaction=nonstopmode -file-line-error -output-directory build
PDFLATEXGREP=""
#PDFLATEXGREP=| grep -i ".*:[0-9]*:.*\|warning"
default: cleanall render
render:
${PDFLATEX} ${MA_KO_NAME}.tex ${PDFLATEXGREP}
#bibtex build/${MA_KO_NAME}
#${PDFLATEX} ${MA_KO_NAME}.tex ${PDFLATEXGREP}
${PDFLATEX} ${MA_KO_NAME}.tex ${PDFLATEXGREP}
cp build/${MA_KO_NAME}.pdf release/${MA_KO_NAME_FINAL}.pdf
clean:
cd build; rm -v *.aux *.bbl *.blg *.log *.out *.toc *.synctex.gz *.nav *.snm *.vrb; cd ..; exit 0;
cleanall:
rm -rfv build; mkdir build
rm -rfv release; mkdir release