Makefile 344 B

1234567891011
  1. SOURCE = index
  2. make:
  3. pdflatex $(SOURCE).tex -output-format=pdf # first run for the aux file
  4. makeindex $(SOURCE) # now the index is generated
  5. pdflatex $(SOURCE).tex -output-format=pdf # pdf with index :-)
  6. make clean
  7. clean:
  8. rm -rf $(TARGET) *.class *.html *.log *.aux *.out *.ind *.idx *.ilg *.toc *.bbl *.blg *.pyg