Implement ADD FILES and UPDATE.
[pspp-builds.git] / doc / automake.mk
index 84118c198a3b1b2e118c98acab38ec5a8e923117..14359e6d71c97d03049be8bcfbe08ede88d8e4c6 100644 (file)
@@ -11,6 +11,7 @@ doc_pspp_TEXINFOS = doc/version.texi \
        doc/data-selection.texi \
        doc/expressions.texi \
        doc/files.texi \
+       doc/combining.texi \
        doc/flow-control.texi \
        doc/function-index.texi \
        doc/installing.texi \
@@ -46,7 +47,12 @@ doc/ni.texi: $(top_srcdir)/src/language/command.def doc/get-commands.pl
 
 # It seems that recent versions of yelp, upon which the gui relies to display the reference
 # manual, are broken.  It only works on compressed info files.  So we must compress them.
-install-data-hook::
+if WITHGUI
+YELP_CHECK = yelp-check
+else
+YELP_CHECK =
+endif
+install-data-hook:: $(YELP_CHECK)
        for ifile in $(DESTDIR)$(infodir)/pspp.info-[0-9] \
                $(DESTDIR)$(infodir)/pspp.info  ; do \
          gzip -f $$ifile ; \
@@ -55,3 +61,6 @@ install-data-hook::
 uninstall-hook::
        rm -f $(DESTDIR)$(infodir)/pspp.info-[0-9].gz
        rm -f $(DESTDIR)$(infodir)/pspp.info.gz
+
+EXTRA_DIST += doc/OChangeLog
+CLEANFILES += pspp-dev.dvi