X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/sod/blobdiff_plain/999a0e357c7d10da5ebc0ecff42a3e94e6a5a639..7ad0d2505058d26e456a246fc4caf5a11d1f3589:/doc/Makefile.am diff --git a/doc/Makefile.am b/doc/Makefile.am index 98533c5..60661d5 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -7,7 +7,7 @@ ###----- Licensing notice --------------------------------------------------- ### -### This file is part of the Sensble Object Design, an object system for C. +### This file is part of the Sensible Object Design, an object system for C. ### ### SOD is free software; you can redistribute it and/or modify ### it under the terms of the GNU General Public License as published by @@ -28,9 +28,11 @@ include $(top_srcdir)/vars.am doc_DATA = TEX_FILES = -CLEANFILES += *.aux *.out *.log *.toc +CLEANFILES += *.aux *.out *.log *.toc *.ind *.idx *.ilg EXTRA_DIST += $(TEX_FILES) +TEXFLAGS = --output-directory=$(abs_builddir) + ###-------------------------------------------------------------------------- ### The manual. @@ -57,7 +59,7 @@ TEX_FILES += parsing.tex TEX_FILES += clang.tex TEX_FILES += meta.tex TEX_FILES += layout.tex -##TEX_FILES += module.tex +TEX_FILES += module.tex TEX_FILES += output.tex ## Other hacks. @@ -68,7 +70,9 @@ 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 + cd $(srcdir) && pdflatex $(TEXFLAGS) sod.tex + makeindex sod.idx + cd $(srcdir) && pdflatex $(TEXFLAGS) sod.tex ###----- That's all, folks --------------------------------------------------