More Makefile flexibility
This commit is contained in:
parent
f8d79390fe
commit
585325c064
6
Makefile
6
Makefile
|
@ -5,17 +5,15 @@ CA_DOC_NAME="CA-DOC-Master"
|
||||||
|
|
||||||
LAST_EXPORT=`cat LAST_EXPORT`
|
LAST_EXPORT=`cat LAST_EXPORT`
|
||||||
|
|
||||||
default: cleanall render_ma
|
default: cleanall render_ma render_ca_doc
|
||||||
|
|
||||||
render_ma:
|
render_ma:
|
||||||
mkdir build
|
|
||||||
pdflatex -output-directory build ${MA_NAME}.tex
|
pdflatex -output-directory build ${MA_NAME}.tex
|
||||||
bibtex build/${MA_NAME}
|
bibtex build/${MA_NAME}
|
||||||
pdflatex -output-directory build ${MA_NAME}.tex
|
pdflatex -output-directory build ${MA_NAME}.tex
|
||||||
pdflatex -output-directory build ${MA_NAME}.tex
|
pdflatex -output-directory build ${MA_NAME}.tex
|
||||||
|
|
||||||
render_ca_doc:
|
render_ca_doc:
|
||||||
mkdir build
|
|
||||||
pdflatex -output-directory build ${CA_DOC_NAME}.tex
|
pdflatex -output-directory build ${CA_DOC_NAME}.tex
|
||||||
#bibtex build/${CA_DOC_NAME}
|
#bibtex build/${CA_DOC_NAME}
|
||||||
#pdflatex -output-directory build ${CA_DOC_NAME}.tex
|
#pdflatex -output-directory build ${CA_DOC_NAME}.tex
|
||||||
|
@ -25,7 +23,7 @@ clean:
|
||||||
cd build; rm -v *.aux *.bbl *.blg *.log *.out *.toc
|
cd build; rm -v *.aux *.bbl *.blg *.log *.out *.toc
|
||||||
|
|
||||||
cleanall:
|
cleanall:
|
||||||
rm -rfv build
|
rm -rfv build; mkdir build
|
||||||
|
|
||||||
viewer:
|
viewer:
|
||||||
okular build/${NAME}.pdf
|
okular build/${NAME}.pdf
|
||||||
|
|
Loading…
Reference in New Issue