X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/e0808c472145fc81e52898bc9ac289e10c4f4f41..f458e64e36509fa8c204f1dbcafff1d3dc059619:/doc/Makefile.am diff --git a/doc/Makefile.am b/doc/Makefile.am index c61002d..5882527 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -31,6 +31,9 @@ TEX_FILES = CLEANFILES += *.aux *.out *.log *.toc *.ind *.idx *.ilg EXTRA_DIST += $(TEX_FILES) +TEXFLAGS = --interaction=nonstopmode \ + --output-directory=$(abs_builddir) + ###-------------------------------------------------------------------------- ### The manual. @@ -40,6 +43,9 @@ TEX_FILES += sod.tex ## Main document styling and definitions. TEX_FILES += sod.sty +## The introduction. +TEX_FILES += intro.tex + ## Tutorial. TEX_FILES += tutorial.tex @@ -68,9 +74,10 @@ MAINTAINERCLEANFILES += sod.pdf EXTRA_DIST += sod.pdf doc_DATA += sod.pdf sod.pdf: $(TEX_FILES) - cd $(srcdir) && pdflatex --output-directory=$(abs_builddir) sod.tex - cd $(srcdir) && pdflatex --output-directory=$(abs_builddir) sod.tex + cd $(srcdir) && pdflatex $(TEXFLAGS) sod.tex + bibtex sod.aux + cd $(srcdir) && pdflatex $(TEXFLAGS) sod.tex makeindex sod.idx - cd $(srcdir) && pdflatex --output-directory=$(abs_builddir) sod.tex + cd $(srcdir) && pdflatex $(TEXFLAGS) sod.tex ###----- That's all, folks --------------------------------------------------