summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 9b752bb9f5a3c2ca1677b75ff7f7a924436082cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

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

ORIGDIR=`pwd`
cd $srcdir

rm -rf config.guess config.sub ltmain.sh

autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?

if [ -d .git ]
then
	$srcdir/missing --run git-log --stat | fmt --split-only 1> ChangeLog
fi

$srcdir/configure --enable-maintainer-mode "$@"

make maintainer-clean

#EOF