]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | # Run this to generate all the initial makefiles, etc. | |
3 | ||
4 | test -n "$srcdir" || srcdir=`dirname "$0"` | |
5 | test -n "$srcdir" || srcdir=. | |
6 | ||
7 | olddir=`pwd` | |
8 | cd "$srcdir" | |
9 | ||
10 | INTLTOOLIZE=`which intltoolize` | |
11 | if test -z $INTLTOOLIZE; then | |
12 | echo "*** No intltoolize found, please install the intltool package ***" | |
13 | exit 1 | |
14 | fi | |
15 | ||
16 | GTK_DOC=`which gtkdocize` | |
17 | if test -z $GTK_DOC; then | |
18 | echo "*** No gtkdocize found, please install the gtk-doc-tools package ***" | |
19 | exit 1 | |
20 | fi | |
21 | ||
22 | GNOME_DOC=`which gnome-doc-prepare` | |
23 | if test -z $GNOME_DOC; then | |
24 | echo "*** No gnome-doc-prepare found, please install the gnome-doc-utils package ***" | |
25 | exit 1 | |
26 | fi | |
27 | ||
28 | AUTORECONF=`which autoreconf` | |
29 | if test -z $AUTORECONF; then | |
30 | echo "*** No autoreconf found, please install it ***" | |
31 | exit 1 | |
32 | fi | |
33 | ||
34 | if test -z `which autopoint`; then | |
35 | echo "*** No autopoint found, please install it ***" | |
36 | exit 1 | |
37 | fi | |
38 | ||
39 | gnome-doc-prepare --automake --copy --force || exit $? | |
40 | gtkdocize --copy || exit $? | |
41 | autopoint --force || exit $? | |
42 | AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose || exit $? | |
43 | ||
44 | cd "$olddir" | |
45 | test -n "$NOCONFIGURE" || "$srcdir/configure" "$@" | |
46 |