[gnome-devel-docs] Avoid using gnome-common in autogen.sh
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] Avoid using gnome-common in autogen.sh
- Date: Wed, 19 Sep 2018 08:39:43 +0000 (UTC)
commit e5fd860cc768ace9d0e1cedf44981765a5803202
Author: David King <amigadave amigadave com>
Date: Wed Sep 19 09:36:54 2018 +0100
Avoid using gnome-common in autogen.sh
autogen.sh | 25 ++++---------------------
1 file changed, 4 insertions(+), 21 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index c09f47b0..c20762b9 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,24 +1,7 @@
#!/bin/sh
-# Run this to generate all the initial makefiles, etc.
-srcdir=`dirname $0`
-test -z "$srcdir" && srcdir=.
+test -n "$srcdir" || srcdir=`dirname "$0"`
+test -n "$srcdir" || srcdir=.
-PKG_NAME="gnome-devel-docs"
-
-(test -f $srcdir/configure.ac \
- && test -d $srcdir/platform-overview) || {
- echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
- echo " top-level $PKG_NAME directory"
- exit 1
-}
-
-which gnome-autogen.sh || {
- echo "You need to install gnome-common from the GNOME CVS"
- exit 1
-}
-
-REQUIRED_AUTOMAKE_VERSION=1.6
-export REQUIRED_AUTOMAKE_VERSION
-
-USE_GNOME2_MACROS=1 . gnome-autogen.sh
+( cd "$srcdir" && autoreconf --force --install --verbose --warnings=all "$srcdir" )
+test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]