summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-14 18:47:21 -0300
committerPerberos <[email protected]>2011-11-14 18:47:21 -0300
commit9ca3489532f60e0942f09582eef7e1cc5361b5df (patch)
treebcba0e8074036246f440c63a1d40ffa5fb028f08 /autogen.sh
parentd02290be62508e6ec69e9dc87d6ce38c76af1f46 (diff)
downloadmate-screensaver-9ca3489532f60e0942f09582eef7e1cc5361b5df.tar.bz2
mate-screensaver-9ca3489532f60e0942f09582eef7e1cc5361b5df.tar.xz
updating autogen.sh
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/autogen.sh b/autogen.sh
index 0e5cb77..b0e41df 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,20 +4,21 @@
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
-PKG_NAME=mate-screensaver
+PKG_NAME="mate-screensaver"
-(test -f $srcdir/configure.ac \
- && test -f $srcdir/autogen.sh \
- && test -d $srcdir/src \
- && test -f $srcdir/src/mate-screensaver.c) || {
+(test -f $srcdir/configure.ac) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory"
exit 1
}
which mate-autogen.sh || {
- echo "You need to install mate-common from the MATE CVS"
+ echo "You need to install mate-common from the MATE Git"
exit 1
}
-REQUIRED_AUTOMAKE_VERSION=1.9 MATE_DATADIR="$mate_datadir" . mate-autogen.sh
+REQUIRED_AUTOMAKE_VERSION=1.9
+MATE_DATADIR="$mate_datadir"
+
+. mate-autogen.sh
+