~zeitgeist/plank/zeitgeist

1 by Robert Dyer
add non-working plank
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="plank"
8
9
(test -f $srcdir/configure.ac \
10
  && test -f $srcdir/autogen.sh) || {
11
    echo -n "**Error**: Directory \`$srcdir' does not look like the"
12
    echo " top-level $PKG_NAME directory"
13
    exit 1
14
}
15
16
if which gnome-autogen.sh ; then
40 by Rico Tzschichholz
update and clean buildsys
17
  REQUIRED_AUTOMAKE_VERSION=1.11 . gnome-autogen.sh
1 by Robert Dyer
add non-working plank
18
else
19
  if which intltoolize && which autoreconf ; then
20
    intltoolize --copy --force --automake || \
21
      (echo "There was an error in running intltoolize." > /dev/stderr;
22
       exit 1)
23
    autoreconf --force --install || \
24
      (echo "There was an error in running autoreconf." > /dev/stderr;
25
       exit 1)
26
  else
27
    echo "No build script available.  You have two choices:"
28
    echo "1. You need to install the gnome-common module and make"
29
    echo "   sure the gnome-autogen.sh script is in your \$PATH."
30
    echo "2. You need to install the following scripts:"
31
    echo "   * intltool"
32
    echo "   * libtool"
33
    echo "   * automake"
34
    echo "   * autoconf"
35
    echo "   Additionally, you need to make"
36
    echo "   sure that they are in your \$PATH."
37
    exit 1
38
  fi
39
fi
40