File: autogen.sh

package info (click to toggle)
ceferino 0.97.8+svn37-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,916 kB
  • ctags: 744
  • sloc: cpp: 6,120; sh: 423; makefile: 50
file content (26 lines) | stat: -rwxr-xr-x 621 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

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

PKG_NAME="Ceferino"

REQUIRED_AUTOCONF_VERSION="2.61"
REQUIRED_AUTOMAKE_VERSION="1.9"
REQUIRED_INTLTOOL_VERSION="0.35"

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

which gnome-autogen.sh || {
    echo "gnome-common not found, using the included version"
    . $srcdir/macros/gnome-autogen.sh
    exit 0
}
. gnome-autogen.sh