Last active
June 18, 2018 13:02
-
-
Save caiofcm/163419c97abb45c89cec1dd45cf80c44 to your computer and use it in GitHub Desktop.
pdflatex makefile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# LaTeX Makefile | |
FILE=thesis | |
all: $(FILE).pdf | |
.PHONY: clean | |
clean: | |
rm -rf *.blg | |
rm -rf *.out | |
rm -rf *.bbl | |
rm -rf *.log | |
rm -rf *.ind | |
rm -rf *.ilg | |
rm -rf *.lot | |
rm -rf *.lof | |
rm -rf *.ind | |
rm -rf *.idx | |
rm -rf *.aux | |
rm -rf *.toc | |
rm -f ${FILE}.pdf | |
$(FILE).pdf: *.tex *.bib *.sty | |
pdflatex -shell-escape $(FILE).tex | |
pdflatex -shell-escape $(FILE).tex | |
makeindex $(FILE).nlo -s nomencl.ist -o $(FILE).nls | |
bibtex $(FILE) | |
pdflatex -shell-escape $(FILE).tex | |
pdflatex -shell-escape $(FILE).tex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment