- cd $(srcdir) && pdflatex --output-directory=$(abs_builddir) sod.tex
- cd $(srcdir) && pdflatex --output-directory=$(abs_builddir) sod.tex
+ cd $(srcdir) && pdflatex $(TEXFLAGS) sod.tex
+ cd $(srcdir) && pdflatex $(TEXFLAGS) sod.tex
+ makeindex sod.idx
+ cd $(srcdir) && pdflatex $(TEXFLAGS) sod.tex