Created
March 31, 2016 18:28
-
-
Save danieltdt/d48a534e14b4b80ab7271b43e12e0528 to your computer and use it in GitHub Desktop.
Makefile padrão para documentos tex
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
DOC=csi-ficcao-realidade | |
TEX=latex # or xelatex | |
all: clean tex | |
clean: | |
rm -f *.{aux,bbl,blg,brf,dvi,idx,ilg,ind,lof,log,lot,pdf,toc} | |
tex: | |
$(TEX) $(DOC).tex | |
bibtex $(DOC).aux | |
#makeindex $(DOC).idx | |
#makeindex $(DOC).nlo -s $(DOC)-nomencl.ist -o $(DOC).nls # se usar glossario | |
$(TEX) $(DOC).tex | |
$(TEX) $(DOC).tex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment