summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-13 00:22:49 -0300
committerPerberos <[email protected]>2011-11-13 00:22:49 -0300
commitabc2dbbf76a5298e63001bf667446aa6c85da59a (patch)
tree562ca999c30d9bb15602430ba045e463cbf8d1ea /autogen.sh
parentc52283c46b1d92b34823fec3d506422e555f6434 (diff)
downloadmate-terminal-abc2dbbf76a5298e63001bf667446aa6c85da59a.tar.bz2
mate-terminal-abc2dbbf76a5298e63001bf667446aa6c85da59a.tar.xz
terminal desktop icon only show on mate session
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh16
1 files changed, 9 insertions, 7 deletions
diff --git a/autogen.sh b/autogen.sh
index e29c9a0..60cad22 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,20 +4,22 @@
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
-PKG_NAME=mate-terminal
+PKG_NAME="mate-terminal"
-(test -f $srcdir/configure.ac \
- && test -f $srcdir/autogen.sh \
- && test -d $srcdir/src \
- && test -f $srcdir/src/terminal.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" USE_COMMON_DOC_BUILD=yes . mate-autogen.sh
+REQUIRED_AUTOMAKE_VERSION=1.9
+MATE_DATADIR="$mate_datadir"
+USE_COMMON_DOC_BUILD=yes
+
+. mate-autogen.sh
+