summaryrefslogtreecommitdiff
path: root/lisp/Makefile.in
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-08-14 09:05:31 +0200
committerAndrea Corallo <akrl@sdf.org>2020-08-17 18:04:22 +0200
commitdbeafd34032797c5d743a741492a5d9b35dd8c7b (patch)
tree8ae1b688fd8e4938118078184376c35c474fa331 /lisp/Makefile.in
parent88b860ef6c687b8b1e3f00eb200f7fc1fb4425dd (diff)
downloademacs-dbeafd34032797c5d743a741492a5d9b35dd8c7b.tar.gz
emacs-dbeafd34032797c5d743a741492a5d9b35dd8c7b.tar.bz2
emacs-dbeafd34032797c5d743a741492a5d9b35dd8c7b.zip
Some Makefile updates and clean-up
* Makefile.in (clean): Remove 'eln-cache' folder. * lisp/Makefile.in (.SUFFIXES): Remove .eln. (native-compile-clean): Target remove. (compile-always, bootstrap-clean): Remove 'native-compile-clean' prerequisite. * src/Makefile.in (%.eln): Remove rule.
Diffstat (limited to 'lisp/Makefile.in')
-rw-r--r--lisp/Makefile.in13
1 files changed, 3 insertions, 10 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 9bcceceb0ee..164e4a01f59 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -302,7 +302,7 @@ endif
# subdirectories, to make sure require's and load's in the files being
# compiled find the right files.
-.SUFFIXES: .eln .elc .el
+.SUFFIXES: .elc .el
# An old-fashioned suffix rule, which, according to the GNU Make manual,
# cannot have prerequisites.
@@ -357,13 +357,6 @@ compile-main: gen-lisp compile-clean
TARGETS="$$chunk"; \
done
-.PHONY: native-compile-clean
-native-compile-clean:
-# Erase all eln output compilation folders.
-ifeq ($(HAVE_NATIVE_COMP),yes)
- find $(lisp) -regex ".*/eln-.*-[0-9a-z]+\\'" -type d | xargs rm -rf
-endif
-
.PHONY: compile-clean
# Erase left-over .elc files that do not have a corresponding .el file.
compile-clean:
@@ -400,7 +393,7 @@ compile: $(LOADDEFS) autoloads compile-first
# Compile all Lisp files. This is like 'compile' but compiles files
# unconditionally. Some files don't actually get compiled because they
# set the local variable no-byte-compile.
-compile-always: native-compile-clean
+compile-always:
find $(lisp) -name '*.elc' $(FIND_DELETE)
$(MAKE) compile
@@ -490,7 +483,7 @@ $(CAL_DIR)/hol-loaddefs.el: $(CAL_SRC) $(CAL_DIR)/diary-loaddefs.el
.PHONY: bootstrap-clean distclean maintainer-clean extraclean
-bootstrap-clean: native-compile-clean
+bootstrap-clean:
find $(lisp) -name '*.elc' $(FIND_DELETE)
rm -f $(AUTOGENEL)