~ubuntu-branches/ubuntu/trusty/unity-control-center/trusty

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2014-01-08 16:29:18 UTC
  • Revision ID: package-import@ubuntu.com-20140108162918-g29dd08tr913y2qh
Tags: upstream-14.04.0
ImportĀ upstreamĀ versionĀ 14.04.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# Run this to generate all the initial makefiles, etc.
 
3
 
 
4
srcdir=`dirname $0`
 
5
test -z "$srcdir" && srcdir=.
 
6
 
 
7
PKG_NAME="control-center"
 
8
 
 
9
(test -f $srcdir/configure.ac \
 
10
  && test -f $srcdir/autogen.sh \
 
11
  && test -d $srcdir/shell) || {
 
12
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
 
13
    echo " top-level $PKG_NAME directory"
 
14
    exit 1
 
15
}
 
16
 
 
17
DIE=0
 
18
 
 
19
rm -f .using-gnome-libs-package
 
20
 
 
21
if ! which gnome-autogen.sh ; then
 
22
  echo "You need to install the gnome-common module and make"
 
23
  echo "sure the gnome-autogen.sh script is in your \$PATH."
 
24
  exit 1
 
25
fi
 
26
 
 
27
. gnome-autogen.sh