* Smake (GNULIB_MODULES): Don't depend on memmem module, because
[pspp-builds.git] / doc / automake.mk
index 84118c198a3b1b2e118c98acab38ec5a8e923117..0ebd8fc56dbf8db410895939e1d398a7a5183df2 100644 (file)
@@ -46,7 +46,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 ; \