Added automake.mk files
[pspp-builds.git] / doc / automake.mk
diff --git a/doc/automake.mk b/doc/automake.mk
new file mode 100644 (file)
index 0000000..0ca4fe2
--- /dev/null
@@ -0,0 +1,50 @@
+## Process this file with automake to produce Makefile.in  -*- makefile -*-
+
+info_TEXINFOS = doc/pspp.texinfo 
+
+doc_pspp_TEXINFOS = doc/version.texi \
+       doc/bugs.texi \
+       doc/command-index.texi \
+       doc/concept-index.texi \
+       doc/configuring.texi \
+       doc/data-file-format.texi \
+       doc/data-io.texi \
+       doc/data-selection.texi \
+       doc/expressions.texi \
+       doc/files.texi \
+       doc/flow-control.texi \
+       doc/function-index.texi \
+       doc/installing.texi \
+       doc/introduction.texi \
+       doc/invoking.texi \
+       doc/language.texi \
+       doc/license.texi \
+       doc/not-implemented.texi \
+       doc/portable-file-format.texi \
+       doc/q2c.texi \
+       doc/statistics.texi \
+       doc/transformation.texi \
+       doc/utilities.texi \
+       doc/variables.texi \
+       doc/fdl.texi 
+
+nodist_doc_pspp_TEXINFOS = doc/ni.texi
+
+
+EXTRA_DIST += doc/pspp.man \
+       doc/get-commands.pl \
+       $(doc_pspp_TEXINFOS)
+
+CLEANFILES += doc/pspp.info doc/pspp.info-* $(top_builddir)/doc/ni.texi
+
+#Kludge to overcome automake limitations
+doc/%.dvi: am__TEXINFO_TEX_DIR=$(top_builddir)/doc
+
+doc/ni.texi: $(top_srcdir)/src/language/command.def doc/get-commands.pl
+       @mkdir -p doc
+       @PERL@ $(top_srcdir)/doc/get-commands.pl $(top_srcdir)/src/language/command.def > $@
+
+
+$(INFO_DEPS): $(top_builddir)/doc/ni.texi
+$(HTML_DEPS): $(top_builddir)/doc/ni.texi
+