diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-07 11:25:42 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-07 11:25:42 +0200 |
commit | a9909d66c62477253468f3f8654bca347a107c09 (patch) | |
tree | 13fb1f638319c55099e3c0ae5497aabe9651de4d /server | |
parent | abfe526abbf6b0eaa43056d15c178c4f5eb4ff1d (diff) |
Remove warnings about missing Makefile.am.test files.
Diffstat (limited to 'server')
-rwxr-xr-x | server/autogen.sh | 20 |
1 files changed, 19 insertions, 1 deletions
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 |