aboutsummaryrefslogtreecommitdiff
blob: 50dfcf877af43b508f36414b7106eb56165ad27c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

# Generate Changelog by default if we in svn repository
if [[ -d .svn && $1 != -n ]] ; then
	# For some reason svn do not give the full log if we do not
	# update first ...
	svn update
	./scripts/svn2cl.sh
fi

aclocal-1.9 || exit 1
libtoolize --automake -c -f || exit 1
aclocal-1.9 || exit 1
autoconf || exit 1
autoheader || exit 1
automake-1.9 -a -c || exit 1

if [[ -x ./test.sh ]] ; then
	exec ./test.sh "$@"
fi