File: autogen.sh

package info (click to toggle)
devhelp 3.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,296 kB
  • sloc: sh: 12,001; ansic: 10,024; python: 316; makefile: 239; perl: 216; lisp: 30
file content (20 lines) | stat: -rwxr-xr-x 408 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

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

PKG_NAME="Devhelp"

(test -f $srcdir/src/dh-main.c) || {
    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 gnome-common."
    exit 1
}

. gnome-autogen.sh