summaryrefslogtreecommitdiff
path: root/lisp/Makefile.in
diff options
context:
space:
mode:
authorPhillip Lord <phillip.lord@russet.org.uk>2017-02-27 21:23:35 +0000
committerPhillip Lord <phillip.lord@russet.org.uk>2017-02-28 21:32:49 +0000
commit7b5e1c8238ef961fd3305b1dce053b9bced684ba (patch)
treea992d47052b5186a1c344a1f4a86d6b8aadc84ff /lisp/Makefile.in
parent75727406535572fb8d18e0c4d92f5a033a1a0933 (diff)
downloademacs-7b5e1c8238ef961fd3305b1dce053b9bced684ba.tar.gz
Speed generation of ldefs-boot-auto
Previously, generation of ldefs-boot-auto required at least one full bootstrap and, in extreme cases, two. Now, from build system, it requires the same time as taken to dump Emacs. * Makefile.in: Remove all calls, pass to src. * admin/ldefs-clean.el: Update for changed messages. * lisp/Makefile.in (compile-first-delete): Add. * lisp/ldefs-boot-auto.el: Update. * src/Makefile.in (generate-ldefs-boot): Add.
Diffstat (limited to 'lisp/Makefile.in')
-rw-r--r--lisp/Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 91b035476fe..366683b0252 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -285,6 +285,9 @@ $(THEFILE)c:
compile-first: loaddefs.el $(COMPILE_FIRST)
+compile-first-delete:
+ -for f in ${COMPILE_FIRST}; do test ! -f $$f || rm $$f; done
+
# In 'compile-main' we could directly do
# ... | xargs $(MAKE)
# and it works, but it generates a lot of messages like