emacs-diffs
[Top][All Lists]
Advanced

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

feature/native-comp 5252b59 1/4: Better compile-clean and bootstrap-clea


From: Andrea Corallo
Subject: feature/native-comp 5252b59 1/4: Better compile-clean and bootstrap-clean target definition
Date: Thu, 2 Jan 2020 17:12:39 -0500 (EST)

branch: feature/native-comp
commit 5252b59b2b3a7959160378cbd0ecb09d9a1da24b
Author: Andrea Corallo <address@hidden>
Commit: Andrea Corallo <address@hidden>

    Better compile-clean and bootstrap-clean target definition
---
 lisp/Makefile.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 5793b64..fdd39d5 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -365,6 +365,8 @@ compile-clean:
          if test -f "$$el" || test ! -f "$${el}c"; then :; else \
            echo rm "$${el}c"; \
            rm "$${el}c"; \
+         fi; \
+         if test -f "$$el" || test ! -f "$${el}n"; then :; else \
            echo rm "$${el}n"; \
            rm "$${el}n"; \
          fi; \
@@ -485,7 +487,7 @@ $(CAL_DIR)/hol-loaddefs.el: $(CAL_SRC) 
$(CAL_DIR)/diary-loaddefs.el
 .PHONY: bootstrap-clean distclean maintainer-clean extraclean
 
 bootstrap-clean:
-       find $(lisp) -name '*.elc' $(FIND_DELETE)
+       find $(lisp) -regex '.*\.elc\|.*\.eln' $(FIND_DELETE)
        rm -f $(AUTOGENEL)
 
 distclean:



reply via email to

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