Skip to content

Instantly share code, notes, and snippets.

@danieltdt
Created March 31, 2016 18:28
Show Gist options
  • Save danieltdt/d48a534e14b4b80ab7271b43e12e0528 to your computer and use it in GitHub Desktop.
Save danieltdt/d48a534e14b4b80ab7271b43e12e0528 to your computer and use it in GitHub Desktop.
Makefile padrão para documentos tex
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