autogen.sh 325 Bytes
Newer Older
Noah Levitt's avatar
Noah Levitt committed
1 2
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
3

4 5
set -e

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

9 10 11 12 13 14
cd "$srcdir"
mkdir -p m4 >/dev/null 2>&1 || true
gtkdocize --copy --flavour no-tmpl
autoreconf --verbose --force --install
intltoolize --force
cd -
15

16
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"