summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: e3dea10e41ae95f41f8d5e00be3195934d11822f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

libtoolize --force --copy
intltoolize --force --copy
gtkdocize --copy
aclocal
autoconf
autoheader
automake --add-missing --copy --foreign

YELP=`which yelp-build`
if test -z $YELP; then
  echo "*** The tools to build the documentation are not found,"
  echo "    please intall the yelp-tools package ***"
  exit 1
fi

if [ -z "$NOCONFIGURE" ]; then
    ./configure $@
fi