tcc-latex/makefile

48 lines
813 B
Makefile

refresh:
make all
make preview
all:
make cleartmp
make clear
make compile
make cleartmp
preview:
xdg-open tcc.pdf
compile:
python3 updateBibliography.py
-pdflatex -interaction=nonstopmode -synctex=1 tcc.tex
bibtex tcc
-pdflatex -interaction=nonstopmode -synctex=1 tcc.tex
-pdflatex -interaction=nonstopmode -synctex=1 tcc.tex
-pdflatex -interaction=nonstopmode -synctex=1 tcc.tex
clear:
-rm *~
-rm *.pdf
cleartmp:
-rm *.aux
-rm *.bbl
-rm *.blg
-rm *.bcf
#-rm *.log
-rm *.toc
-rm *.lof
-rm *.lot
-rm *.loq
-rm *.run.xml
-rm *.synctex.gz
-rm *.fdb_latexmk
html:
make cleartmp
-pdflatex -interaction=nonstopmode -synctex=1 htmlable.tex
bibtex htmlable
-pdflatex -interaction=nonstopmode -synctex=1 htmlable.tex
yes "" | htlatex htmlable.tex "html,css-in,fn-in"
make cleartmp