Fixed a build error that make distcheck didn't catch (automake bug).
[pspp-builds.git] / doc / Makefile.am
index 9a7bfa10b847a044f62562b6c8bedb24bcce464b..8efd6c410f38f2b02d507829c9491f05bf34dd5a 100644 (file)
@@ -1,11 +1,45 @@
 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
 
-info_TEXINFOS = pspp.texi
+info_TEXINFOS = pspp.texinfo 
 
-# FIXME: remove this when the manual is fixed to eliminate dangling
-# references.
-MAKEINFO = makeinfo --no-validate
+pspp_TEXINFOS = version.texi \
+       bugs.texi \
+       command-index.texi \
+       concept-index.texi \
+       configuring.texi \
+       data-file-format.texi \
+       data-io.texi \
+       data-selection.texi \
+       expressions.texi \
+       files.texi \
+       flow-control.texi \
+       function-index.texi \
+       installing.texi \
+       introduction.texi \
+       invoking.texi \
+       language.texi \
+       license.texi \
+       not-implemented.texi \
+       portable-file-format.texi \
+       q2c.texi \
+       statistics.texi \
+       transformation.texi \
+       utilities.texi \
+       variables.texi \
+       fdl.texi 
 
-EXTRA_DIST = pspp.man
+nodist_pspp_TEXINFOS= ni.texi
+
+pspp.info: ni.texi
+
+EXTRA_DIST = pspp.man \
+       get-commands.pl \
+       $(pspp_TEXINFOS)
+
+
+CLEANFILES = pspp.info pspp.info-* ni.texi
+MAINTAINERCLEANFILES=Makefile.in 
+
+ni.texi: @top_srcdir@/src/command.def @srcdir@/get-commands.pl
+       @PERL@ @srcdir@/get-commands.pl $< > $@
 
-MAINTAINERCLEANFILES = Makefile.in README.html pspp.info pspp.info-*