summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-14 18:48:15 -0300
committerPerberos <[email protected]>2011-11-14 18:48:15 -0300
commit708abff00d19f4bf9b60f45f01bb39bda674aa35 (patch)
tree59b22459801c381c1230775fc7eec4f90ed95cbf
parentbe02c4975efc4ccdee0833efb0691b9dd8f19ccc (diff)
downloadeom-708abff00d19f4bf9b60f45f01bb39bda674aa35.tar.bz2
eom-708abff00d19f4bf9b60f45f01bb39bda674aa35.tar.xz
updating autogen.sh
-rwxr-xr-xautogen.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/autogen.sh b/autogen.sh
index e468651..efa9eaa 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,20 +4,21 @@
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
-PKG_NAME=mate-image-viewer
+PKG_NAME="mate-image-viewer"
-(test -f $srcdir/configure.ac \
- && test -f $srcdir/autogen.sh \
- && test -d $srcdir/src \
- && test -f $srcdir/src/eom-application.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
+