summaryrefslogtreecommitdiff
path: root/buildconf
blob: 742d38a7485a55a51c7f5be0132acda7568e4963 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

die(){
	echo "$@"
	exit
}

MAKEFILES=`find . -name Makefile.am | sed 's/\.am$//'`

automake $MAKEFILES || die "The command 'automake $MAKEFILES' failed"
aclocal           || die "The command 'aclocal' failed"
autoheader        || die "The command 'autoheader' failed"
autoconf          || die "The command 'autoconf' failed"