[file-roller] updated autogen.sh
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] updated autogen.sh
- Date: Wed, 17 Aug 2016 13:53:37 +0000 (UTC)
commit 993d55ddbefc1251fb57fc8a9614cbf8da7d72d5
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Aug 17 15:42:35 2016 +0200
updated autogen.sh
autogen.sh | 21 ++++++++-------------
1 files changed, 8 insertions(+), 13 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 8148e58..fc1676d 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,20 +1,15 @@
#!/bin/sh
-# Run this to generate all the initial makefiles, etc.
-
srcdir=`dirname $0`
-test -z "$srcdir" && srcdir=.
-
-REQUIRED_AUTOMAKE_VERSION=1.8
+[ -z "$srcdir" ] && srcdir=.
-(test -f $srcdir/src/main.c && test -f $srcdir/configure.ac) || {
- echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
- echo " top-level $PKG_NAME directory"
- exit 1
-}
+if [ ! -f "$srcdir/configure.ac" ]; then
+ echo "$srcdir doesn't look like source directory for $PKG_NAME" >&2
+ exit 1
+fi
which gnome-autogen.sh || {
- echo "You need to install gnome-common from the GNOME CVS"
- exit 1
+ echo "You need to install gnome-common from GNOME Git"
+ exit 1
}
-. gnome-autogen.sh
+. gnome-autogen.sh "$@"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]