diff options
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 | 
