~dobey/rhetorical/trunk

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: rodney.dawes at canonical
  • Date: 2008-10-24 02:42:27 UTC
  • Revision ID: rodney.dawes@canonical.com-20081024024227-635l0ef9cge686qu
2008-10-23  Rodney Dawes  <dobey.pwns@gmail.com>

        * *: Import rhetorical into bzr

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