Enhance Makefile to use build folder
This commit is contained in:
1 parent
a43bac410f
commit
5c6fad6ed8
3 files changed
+24
-167
No files matched your search
@@ -4,14 +4,17 @@ NAME=Masterarbeit
|
||||
LAST_EXPORT=`cat LAST_EXPORT`
|
||||
|
||||
render:
|
||||
pdflatex ${NAME}.tex
|
||||
bibtex ${NAME}
|
||||
pdflatex ${NAME}.tex
|
||||
pdflatex ${NAME}.tex
|
||||
mkdir build
|
||||
pdflatex -output-directory build ${NAME}.tex
|
||||
bibtex build/${NAME}
|
||||
pdflatex -output-directory build ${NAME}.tex
|
||||
pdflatex -output-directory build ${NAME}.tex
|
||||
|
||||
diff:
|
||||
git-latexdiff $(LAST_EXPORT) -- --main ${NAME}.tex --no-flatten -o diff.pdf
|
||||
cd build; git-latexdiff $(LAST_EXPORT) -- --main ${NAME}.tex --no-flatten -o diff.pdf; cd ..
|
||||
|
||||
clean:
|
||||
rm -f *.aux *.bbl *.blg *.dvi *.log *.lol *.lot *.lof *.toc *.out *.synctex.gz *.bak
|
||||
rm -f *.pdf
|
||||
rm -rfv build
|
||||
|
||||
show:
|
||||
okular build/${NAME}.pdf
|
||||
Reference in new issue
Block a user