]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
Makefile: Fixed @YELP_HELP_RULES@: *** missing separator
authorOlivier Martin <olivier.martin@appnearme.com>
Thu, 26 Jun 2014 22:57:58 +0000 (23:57 +0100)
committerOlivier Martin <olivier.martin@appnearme.com>
Thu, 26 Jun 2014 22:57:58 +0000 (23:57 +0100)
'yelp-tools' are required to build lighthm.
This change checks if yelp-tools are installed prior to
configure & build lighthm as recommended on this page:
https://wiki.gnome.org/Initiatives/GnomeGoals/NewDocumentationInfrastructure

autogen.sh

index b0e51a33d10dd829dda39954f2142d0b5fde8d85..e3dea10e41ae95f41f8d5e00be3195934d11822f 100755 (executable)
@@ -8,6 +8,14 @@ aclocal
 autoconf
 autoheader
 automake --add-missing --copy --foreign
+
+YELP=`which yelp-build`
+if test -z $YELP; then
+  echo "*** The tools to build the documentation are not found,"
+  echo "    please intall the yelp-tools package ***"
+  exit 1
+fi
+
 if [ -z "$NOCONFIGURE" ]; then
     ./configure $@
 fi