2018-11-10 18:53:33 +01:00
|
|
|
.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:
|
2018-11-10 19:03:51 +01:00
|
|
|
cd build; rm -v *.aux *.bbl *.blg *.log *.out *.toc *.synctex.gz *.nav *.snm *.vrb; cd ..; exit 0;
|
2018-11-10 18:53:33 +01:00
|
|
|
|
|
|
|
cleanall:
|
|
|
|
rm -rfv build; mkdir build
|
|
|
|
rm -rfv release; mkdir release
|