blob: 9727768677a062f20592e1f8d81219f087394d32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
die() {
echo "!!! $*" > /dev/stderr
exit -1
}
#autoheader || { echo "failed autoheader"; exit 1; };
aclocal || die "failed aclocal"
[ "`type -t glibtoolize`" = "file" ] && alias libtoolize=glibtoolize
libtoolize --automake -c -f || die "failed libtoolize"
autoconf || die "failed autoconf"
touch ChangeLog
automake -a -c || die "failed automake"
if [ -x ./test.sh ] ; then
exec ./test.sh "$@"
fi
echo "finished"
|