File: autogen.sh

package info (click to toggle)
gnome-specimen 0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,024 kB
  • ctags: 85
  • sloc: sh: 3,510; python: 569; makefile: 133
file content (24 lines) | stat: -rwxr-xr-x 629 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

PKG_NAME="gnome-specimen"
REQUIRED_AUTOCONF_VERSION=2.53
REQUIRED_AUTOMAKE_VERSION=1.7.2

(test -f $srcdir/configure.ac \
  && test -f $srcdir/specimen/specimenwindow.py) || {
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
    echo " top-level $PKG_NAME directory"
    exit 1
}

which gnome-autogen.sh || {
    echo "You need to install the gnome-common module and make"
    echo "sure the gnome-autogen.sh script is in your \$PATH."
    exit 1
}

USE_GNOME2_MACROS=1 . gnome-autogen.sh