Fix #736: Please migrate from gnome-doc-tool to yelp-build
authorColin Clark <colin.clark@cclark.uk>
Mon, 30 Dec 2019 11:59:07 +0000 (11:59 +0000)
committerColin Clark <colin.clark@cclark.uk>
Mon, 30 Dec 2019 11:59:07 +0000 (11:59 +0000)
https://github.com/BestImageViewer/geeqie/issues/736

autogen.sh
configure.ac
web/geeqie-install-debian.sh

index 9a32605..3e247c4 100755 (executable)
@@ -58,6 +58,13 @@ test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
   DIE=1
 }
 
+GNOMEDOC=`which yelp-build`
+if test -z $GNOMEDOC; then
+  echo "*** The tools to build the documentation are not found,"
+  echo "    please intall the yelp-tool package ***"
+  DIE=1
+fi
+
 if test "$DIE" -eq 1; then
   exit 1
 fi
index 29f54ae..2ba122f 100644 (file)
@@ -242,7 +242,7 @@ AC_ARG_WITH(htmldir, [  --with-htmldir=DIR      install path for html files],
 AC_DEFINE_UNQUOTED(GQ_HELPDIR, "$readmedir", [Location of documentation files])
 AC_DEFINE_UNQUOTED(GQ_HTMLDIR, "$htmldir", [Location of html documentation])
 
-AC_PATH_PROG(GNOME_DOC_TOOL, gnome-doc-tool)
+AC_PATH_PROG(GNOME_DOC_TOOL, yelp-build)
 
 AC_SUBST(readmedir)
 AC_SUBST(htmldir)
index 2926792..6fff72e 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-version="2019-08-13"
+version="2019-12-30"
 description=$'
 Geeqie is an image viewer.
 This script will download, compile, and install Geeqie on Debian-based systems.
@@ -24,6 +24,7 @@ essential_array=(
 "libglib2.0-0"
 "intltool"
 "libtool"
+"yelp-tools"
 )
 
 # Optional for both GTK2 and GTK3