summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-01-02 22:02:20 +0100
committerAndrea Corallo <akrl@sdf.org>2020-01-02 23:01:28 +0100
commit5252b59b2b3a7959160378cbd0ecb09d9a1da24b (patch)
tree0e77157708f91fb22969342b57c231ca3de4ad8c
parentb0a283872c7bdfb8dbd1af459d0827c07fa72ec2 (diff)
downloademacs-5252b59b2b3a7959160378cbd0ecb09d9a1da24b.tar.gz
Better compile-clean and bootstrap-clean target definition
-rw-r--r--lisp/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 5793b6474dc..fdd39d5fd54 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: