bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnulib-tools: clean up after autotools


From: Bruno Haible
Subject: gnulib-tools: clean up after autotools
Date: Mon, 12 Jun 2017 01:39:23 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-79-generic; KDE/5.18.0; x86_64; ; )

2017-06-11  Bruno Haible  <address@hidden>

        gnulib-tool: Clean up after autotools.
        * gnulib-tool (func_create_testdir, func_create_megatestdir): Remove
        useless directory left over by the Autotools.

diff --git a/gnulib-tool b/gnulib-tool
index c78e68b..48c15b3 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -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
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]