]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool: Clean up after autotools.
authorBruno Haible <bruno@clisp.org>
Sun, 11 Jun 2017 23:38:57 +0000 (01:38 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 11 Jun 2017 23:40:51 +0000 (01:40 +0200)
* gnulib-tool (func_create_testdir, func_create_megatestdir): Remove
useless directory left over by the Autotools.

ChangeLog
gnulib-tool

index 017ec4b1a714427b63bf3a564c44a358d9f89a9c..4917e70d215354e07421e52401a301a17c1361e5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-06-11  Bruno Haible  <bruno@clisp.org>
+
+       gnulib-tool: Clean up after autotools.
+       * gnulib-tool (func_create_testdir, func_create_megatestdir): Remove
+       useless directory left over by the Autotools.
+
 2017-06-11  Paul Eggert  <eggert@cs.ucla.edu>
 
        getopt-posix: port to glibc 2.25.90
index c78e68b8138a6dc6fb13828556923fe2be4679d4..48c15b3692b0feb923ecb26a8538045549c8cfcf 100755 (executable)
@@ -6479,6 +6479,7 @@ func_create_testdir ()
    func_execute_command ${AUTOCONF} || func_exit 1
    func_execute_command ${AUTOHEADER} || func_exit 1
    func_execute_command ${AUTOMAKE} --add-missing --copy || func_exit 1
+   rm -rf autom4te.cache
   ) || func_exit 1
   if $inctests && ! $single_configure; then
     # Create autogenerated files.
@@ -6500,6 +6501,7 @@ func_create_testdir ()
      func_execute_command ${AUTOCONF} || func_exit 1
      func_execute_command ${AUTOHEADER} || func_exit 1
      func_execute_command ${AUTOMAKE} --add-missing --copy || func_exit 1
+     rm -rf autom4te.cache
     ) || func_exit 1
   fi
   # Need to run configure and make once, to create built files that are to be
@@ -6659,6 +6661,7 @@ func_create_megatestdir ()
    func_execute_command mkdir build-aux
    func_execute_command ${AUTOCONF} || func_exit 1
    func_execute_command ${AUTOMAKE} --add-missing --copy || func_exit 1
+   rm -rf autom4te.cache
   ) || func_exit 1
 }