Switched to makefile build pipeline

This commit is contained in:
Leonetienne 2022-04-09 22:08:26 +02:00
parent 3beffd3cc4
commit 0f815c1be1
4 changed files with 6 additions and 10 deletions

6
Makefile Normal file
View File

@ -0,0 +1,6 @@
all:
pdflatex -interaction errorstopmode -halt-on-error main.tex # Generate table of contents (ToC)
pdflatex -interaction errorstopmode -halt-on-error main.tex # Generate ToC page indices taking account the new ToC file
pdflatex -interaction errorstopmode -halt-on-error main.tex # Generate PDF with new ToC
rm -f kapitel/*.aux *.aux *.lof *.log *.lot *.toc *.tps *.out *.fdb_latexmk *.fls # Remove cache files

View File

@ -1,8 +0,0 @@
#/bin/bash
pdflatex -interaction errorstopmode -halt-on-error main.tex # Generate table of contents (ToC)
bibtex main.aux # Build bibliography
pdflatex -interaction errorstopmode -halt-on-error main.tex # Generate ToC page indices taking account the new ToC file
pdflatex -interaction errorstopmode -halt-on-error main.tex # Generate PDF with new ToC
# Delete all cache files as they spam the working directory
./flushcache.sh

View File

@ -1,2 +0,0 @@
#/bin/bash
rm -f */*.aux *.aux *.lof *.log *.lot *.toc *.tps *.out *.fdb_latexmk *.fls *.bbl *.blg

BIN
main.pdf

Binary file not shown.