Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. CLASS=vutinfth
  2. TEX=thesis
  3. all: $(TEX)
  4. $(TEX): $(CLASS).cls
  5. @echo "\n===\nmaking $@\n===\n"
  6. pdflatex --shell-escape $@
  7. bibtex $@
  8. pdflatex --shell-escape $@
  9. pdflatex --shell-escape $@
  10. makeindex -t $@.glg -s $@.ist -o $@.gls $@.glo
  11. makeindex -t $@.alg -s $@.ist -o $@.acr $@.acn
  12. makeindex -t $@.ilg -o $@.ind $@.idx
  13. pdflatex --shell-escape $@
  14. pdflatex --shell-escape $@
  15. @echo "\n===\ncompiled $@\n===\n"
  16. $(CLASS).cls: $(CLASS).dtx
  17. @echo "\n===\nmaking $@\n===\n"
  18. pdflatex --shell-escape $^
  19. pdflatex --shell-escape $^
  20. makeindex -s gglo.ist -o $(CLASS).gls $(CLASS).glo
  21. makeindex -s gind.ist -o $(CLASS).ind $(CLASS).idx
  22. pdflatex --shell-escape $^
  23. pdflatex --shell-escape $^
  24. pdflatex --shell-escape $(CLASS).ins
  25. @echo "\n===\ncompiled $@\n===\n"
  26. spellcheck:
  27. aspell -c -t $(TEX).tex -d en_US
  28. clean:
  29. rm -rf *.acn *.acr *.alg *.aux *.bbl *.blg *.glg *.glo *.gls *.glsdefs *.ist *.loa *.lof *.lot *.cls *.hd *.idx *.ilg *.ind *.log *.out *.toc *.pdf *.fdb_latexmk *.fls *.synctex.gz *.lol *.bak _minted-*
  30. .PHONY: all $(TEX) clean