summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: ab1e8aa9fa035d7eb5dc3ed7e46c7a1fcec36afa (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 install the yelp-tools package ***"
  exit 1
fi

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