diff gnulib-tool @ 18959:a2064df3feed

gnulib-tool: Clean up after autotools. * gnulib-tool (func_create_testdir, func_create_megatestdir): Remove useless directory left over by the Autotools.
author Bruno Haible <bruno@clisp.org>
date Mon, 12 Jun 2017 01:38:57 +0200
parents 2f7ab9aaa825
children 6d737cdd7618 48020f2b05c3
line wrap: on
line diff
--- a/gnulib-tool	Sun Jun 11 15:53:09 2017 -0700
+++ b/gnulib-tool	Mon Jun 12 01:38:57 2017 +0200
@@ -6479,6 +6479,7 @@
    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_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_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
 }