~ubuntu-branches/ubuntu/natty/minbar/natty

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: Bazaar Package Importer
  • Author(s): Mohammed Adnène Trojette
  • Date: 2007-04-16 15:34:52 UTC
  • Revision ID: james.westby@ubuntu.com-20070416153452-xr0c3hkbtu2iq33i
Tags: upstream-0.1
Import upstream version 0.1

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
REQUIRED_AUTOMAKE_VERSION=1.8
 
8
 
 
9
PKG_NAME="minbar"
 
10
 
 
11
(test -f $srcdir/src/Makefile.am) || {
 
12
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
 
13
    echo " top-level $PKG_NAME directory"
 
14
    exit 1
 
15
}
 
16
 
 
17
which gnome-autogen.sh || {
 
18
    echo "You need to install gnome-common from the GNOME CVS"
 
19
    exit 1
 
20
}
 
21
 
 
22
REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh