Need to make sure m4/Makefile.am exists before running gnulib-tool.
[pspp] / doc / Makefile.am
index f2657e6c03d0808018ef47eafc15994d3288a6d2..65e7a6dffb9dbf1e210717430c872d121b45d3f5 100644 (file)
@@ -25,12 +25,23 @@ pspp_TEXINFOS = version.texi \
        statistics.texi \
        transformation.texi \
        utilities.texi \
-       variables.texi
+       variables.texi \
+       fdl.texi 
+
+nodist_pspp_TEXINFOS= ni.texi
+
 
 EXTRA_DIST = pspp.man \
+       get-commands.pl \
        $(pspp_TEXINFOS)
 
-
-CLEANFILES = pspp.info pspp.info-*
+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
+
+