seed r570 - trunk



Author: hortont
Date: Sun Dec 28 22:19:50 2008
New Revision: 570
URL: http://svn.gnome.org/viewvc/seed?rev=570&view=rev

Log:
Better error if we don't have gtk-doc.


Modified:
   trunk/autogen.sh

Modified: trunk/autogen.sh
==============================================================================
--- trunk/autogen.sh	(original)
+++ trunk/autogen.sh	Sun Dec 28 22:19:50 2008
@@ -6,7 +6,13 @@
 
 DIE=0
 
-gtkdocize || exit 1
+(gtkdocize) < /dev/null > /dev/null 2>&1 || {
+    echo
+    echo "**Error**: You must have \`gtk-doc-tools' installed."
+    echo "Download the appropriate package for your distribution,"
+    echo "or get the source tarball at ftp://ftp.gtk.org/pub/";
+    DIE=1
+}
 
 if [ -n "$GNOME2_DIR" ]; then
 	ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]