Fix two minor packaging bugs reported by James R. Van Zandt.
[pspp-builds.git] / doc / Makefile.am
index 430c6df0c67ebbade1cf53be27bf581ac14dccf1..0ff30a48bdb4ca0122bec872dd7d3b51b7aaa113 100644 (file)
@@ -2,12 +2,11 @@
 
 info_TEXINFOS = pspp.texinfo 
 
-EXTRA_DIST = pspp.man \
+pspp_TEXINFOS = version.texi \
        bugs.texi \
        command-index.texi \
        concept-index.texi \
        configuring.texi \
-       credits.texi \
        data-file-format.texi \
        data-io.texi \
        data-selection.texi \
@@ -26,8 +25,23 @@ EXTRA_DIST = pspp.man \
        statistics.texi \
        transformation.texi \
        utilities.texi \
-       variables.texi
+       variables.texi \
+       fdl.texi 
+
+nodist_pspp_TEXINFOS= ni.texi
 
 
-CLEANFILES = pspp.info pspp.info-*
+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 $< > $@
+
+
+$(INFO_DEPS): ni.texi
+$(HTML_DEPS): ni.texi
+