emacs-diffs
[Top][All Lists]
Advanced

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

master aa2625b 3/5: Small fixes for out-of-tree clean rules.


From: Glenn Morris
Subject: master aa2625b 3/5: Small fixes for out-of-tree clean rules.
Date: Sun, 9 May 2021 21:46:34 -0400 (EDT)

branch: master
commit aa2625b36a09b74bbd92d260c5045c7d95a63db6
Author: Glenn Morris <rgm@gnu.org>
Commit: Glenn Morris <rgm@gnu.org>

    Small fixes for out-of-tree clean rules.
    
    * Makefile.in (top_maintainer_clean, extraclean): Fix out-of-tree.
---
 Makefile.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 8419c82..6bde5e5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -919,7 +919,7 @@ bootstrap-clean: $(distclean_dirs:=_bootstrap-clean)
 ###      begin to build the program.
 top_maintainer_clean=\
        ${top_distclean}; \
-       rm -fr autom4te.cache
+       rm -fr ${srcdir}/autom4te.cache
 
 maintainer_clean_dirs = src leim lisp admin/charsets admin/grammars \
   admin/unidata
@@ -937,7 +937,8 @@ maintainer-clean: bootstrap-clean 
$(maintainer_clean_dirs:=_maintainer-clean)
 ### the coding standards seem to come from.  It's like distclean, but
 ### it deletes backup and autosave files too.
 extraclean: maintainer-clean
-       -rm -f config-tmp-* aclocal.m4 configure src/config.in
+       -rm -f config-tmp-* ${srcdir}/aclocal.m4 ${srcdir}/configure \
+         ${srcdir}/src/config.in
        -[ "${srcdir}" = "." ] || \
          find ${srcdir} '(' -name '*~' -o -name '#*' ')' ${FIND_DELETE}
        -find . '(' -name '*~' -o -name '#*' ')' ${FIND_DELETE}



reply via email to

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