summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-06-20 17:04:04 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-06-20 17:04:04 +0200
commitde4e1bddb1c4823af4d04f0bff5b4a0217e9701d (patch)
tree856433079bfe755b0f026c0c2744522414f3b0c5 /lisp
parent756c48b33fc501003fb46598ed44c8a701c7a4df (diff)
downloademacs-de4e1bddb1c4823af4d04f0bff5b4a0217e9701d.tar.gz
Make extraclean return tree to pristine state by deleting more
* src/Makefile.in (extraclean): Remove TAGS and config.in. * Makefile.in (extraclean): Remove info, configure and emacsver.texi in extraclean. * admin/unidata/Makefile.in (extraclean): Make it depend on distclean to remove .elc files. * leim/Makefile.in (extraclean): Depend on bootstrap-clean to remove generated .el files. * lib/Makefile.in (extraclean): Added target to remove sys directory and run distclean. * lisp/Makefile.in (extraclean): Also remove loaddefs*.el~ files.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 9bcd5a88242..ee2c2091770 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -453,18 +453,22 @@ $(CAL_DIR)/hol-loaddefs.el: $(CAL_SRC) $(CAL_DIR)/diary-loaddefs.el
--eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \
-f batch-update-autoloads $(CAL_DIR)
-.PHONY: bootstrap-clean distclean maintainer-clean
+.PHONY: bootstrap-clean distclean maintainer-clean extraclean
bootstrap-clean:
find $(lisp) -name '*.elc' $(FIND_DELETE)
rm -f $(AUTOGENEL)
distclean:
- -rm -f ./Makefile $(lisp)/loaddefs.el~
+ -rm -f ./Makefile $(lisp)/loaddefs.el
maintainer-clean: distclean bootstrap-clean
rm -f TAGS
+extraclean: bootstrap-clean distclean
+ -for file in $(LOADDEFS); do rm -f $${file}~; done
+ -rm -f $(lisp)/loaddefs.el~
+
.PHONY: check-declare
check-declare: