chiark / gitweb /
debian/libsod-dev.install: Fix name of manpage.
[sod] / doc / Makefile.am
index 882f01b2f90ff3c3b9724b2b219d8e3d59efe7d3..c61002d6bb84e578ea7c980789219fbbd33b79e0 100644 (file)
@@ -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,7 +28,7 @@ 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)
 
 ###--------------------------------------------------------------------------
@@ -55,10 +55,10 @@ TEX_FILES           += lispintro.tex
 TEX_FILES              += misc.tex
 TEX_FILES              += parsing.tex
 TEX_FILES              += clang.tex
-##TEX_FILES            += meta.tex
-##TEX_FILES            += layout.tex
-##TEX_FILES            += module.tex
-##TEX_FILES            += ouptut.tex
+TEX_FILES              += meta.tex
+TEX_FILES              += layout.tex
+TEX_FILES              += module.tex
+TEX_FILES              += output.tex
 
 ## Other hacks.
 TEX_FILES              += cutting-room-floor.tex
@@ -70,5 +70,7 @@ 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
+       makeindex sod.idx
+       cd $(srcdir) && pdflatex --output-directory=$(abs_builddir) sod.tex
 
 ###----- That's all, folks --------------------------------------------------