################################################ # #Makefile para copilacao de tex # #Elias Mussi # ################################################ #NAO ESQUECER DE MUDAR O NOME DO PROJETO #PROJETO=cluster PROJETO=guiacluster data=`date --iso` clean: set -x rm -f *.log *.aux *.bbl *.blg *.dvi *.ps *.lot *.toc *.lof *.idx *.ilg *.ind *.out cleanall: clean clean-backups # set -x clean-backups: @set -x ;\ find -type f | grep -v .svn |grep .backup |xargs -i rm {} ;\ find -type f | grep -v .svn |grep .~ |xargs -i rm {} ;\ find -type f | grep -v .svn |grep .bak |xargs -i rm {} ;\ ebb: @set -x ; \ cd imagens/ ; \ echo `pwd` ; \ rm *.bb ; \ ebb * ; \ cd - ;\ bibtex: tex @set -x ; \ bibtex $(PROJETO) ;\ tex: ebb @set -x ; \ latex $(PROJETO) ; \ bibtex $(PROJETO) ; \ latex $(PROJETO) ; \ latex $(PROJETO) ;\ index: @set -x ; \ makeindex $(PROJETO).tex ;\ pdf: @set -x ; \ dvipdfm $(PROJETO) ;\ all: clean index tex pdf @set -x ; \ tar: clean cd ../ ;\ tar -cvzf Mestrado-livro-$(data).tar.gz trunk ;\ #htlatex cluster.tex "xhtml,docbook" " -cunihtf -utf8" #htlatex cluster.tex "xhtml,ooffice" "ooffice/! -cmozhtf" "-coo" "-cvalidate -utf8"