diff --git a/documents/book/Makefile b/documents/book/Makefile index b99a736..1797876 100644 --- a/documents/book/Makefile +++ b/documents/book/Makefile @@ -1,9 +1,11 @@ +SOURCE = book + make: - pdflatex book.tex -output-format=pdf - pdflatex book.tex -output-format=pdf - makeindex book - bibtex book - pdflatex book.tex -output-format=pdf + pdflatex $(SOURCE).tex -output-format=pdf + pdflatex $(SOURCE).tex -output-format=pdf + makeindex $(SOURCE) + bibtex $(SOURCE) + pdflatex $(SOURCE).tex -output-format=pdf make clean clean: