summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 5a5e365c228e5953db8db79da8006fb4eb7712d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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 $?

$srcdir/missing --run git-log --stat | fmt --split-only 1> ChangeLog 2>/dev/null

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

make maintainer-clean

#EOF