diff --git a/buildconf b/buildconf index b6ec7e2d5..742d38a74 100755 --- a/buildconf +++ b/buildconf @@ -5,7 +5,9 @@ die(){ exit } -automake Makefile || die "The command 'automake Makefile' failed" +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"