From a9909d66c62477253468f3f8654bca347a107c09 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 7 Oct 2011 11:25:42 +0200 Subject: Remove warnings about missing Makefile.am.test files. --- server/autogen.sh | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/server/autogen.sh b/server/autogen.sh index 412286b..5be400b 100755 --- a/server/autogen.sh +++ b/server/autogen.sh @@ -51,6 +51,16 @@ if [ "$DIE" -eq 1 ]; then exit 1 fi +# Create testfiles +TESTDIRS="src getdata" +for d in $TESTDIRS +do + if [ ! -f $d/Makefile.am.test ] + then + touch $d/Makefile.am.test + fi +done + aclocalinclude="$ACLOCAL_FLAGS"; \ (echo $_echo_n " + Running aclocal: $_echo_c"; \ aclocal $aclocalinclude; \ @@ -62,10 +72,18 @@ aclocalinclude="$ACLOCAL_FLAGS"; \ autoheader; \ echo "done.") && \ (echo $_echo_n " + Running automake: $_echo_c"; \ - automake --gnu --add-missing --copy;\ + automake --gnu --add-missing --copy; \ echo "done.") && \ (echo $_echo_n " + Running autoconf: $_echo_c"; \ autoconf; \ echo "done.") rm -f config.cache + +for d in $TESTDIRS +do + if [ -f $d/Makefile.am.test ] + then + rm $d/Makefile.am.test + fi +done -- cgit v1.2.3