[beast] BUILD: use am__CONFIG_DISTCLEAN_FILES instead of MAINTAINERCLEANFILES at the top



commit 80f789413861669451858cd2e16ba6eda5a0b3d0
Author: Tim Janik <timj gnu org>
Date:   Mon Jun 19 01:04:36 2017 +0200

    BUILD: use am__CONFIG_DISTCLEAN_FILES instead of MAINTAINERCLEANFILES at the top
    
    Signed-off-by: Tim Janik <timj gnu org>

 Makefile.am |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 2e0ef6f..580a29b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -169,7 +169,9 @@ uninstall_filter_files = $(strip    \
 # == cleanups ==
 MOSTLYCLEANFILES +=            \
        distcheck\.log
-MAINTAINERCLEANFILES +=        \
+# Use am__CONFIG_DISTCLEAN_FILES instead of MAINTAINERCLEANFILES, because the latter
+# is cleared before recursing into subdirs, while the former is cleared later.
+am__CONFIG_DISTCLEAN_FILES =   \
        Makefile\.in            \
        config/compile          \
        aclocal\.m4             \
@@ -190,4 +192,8 @@ MAINTAINERCLEANFILES +=     \
        config/ltversion\.m4    \
        config/lt~obsolete\.m4  \
        config/missing          \
-       config/py-compile
+       config/py-compile       \
+       config\.status          \
+       config\.cache           \
+       configure\.lineno       \
+       config\.status\.lineno


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