diff options
author | Phillip Lord <phillip.lord@russet.org.uk> | 2017-02-27 21:23:35 +0000 |
---|---|---|
committer | Phillip Lord <phillip.lord@russet.org.uk> | 2017-02-28 21:32:49 +0000 |
commit | 7b5e1c8238ef961fd3305b1dce053b9bced684ba (patch) | |
tree | a992d47052b5186a1c344a1f4a86d6b8aadc84ff /Makefile.in | |
parent | 75727406535572fb8d18e0c4d92f5a033a1a0933 (diff) | |
download | emacs-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 'Makefile.in')
-rw-r--r-- | Makefile.in | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/Makefile.in b/Makefile.in index 2cc41feb462..a7b122f5188 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1186,17 +1186,6 @@ check-declare: fi $(MAKE) -C lisp $@ -## Generating ldefs-boot-auto.el requires a completely clean build so -## that we can see which autoloads are actually called. The build has -## to complete because we use Emacs to clean the results up! We use -## loaddefs.el in place of ldefs-boot-auto, because if we are running -## this there is the possibility that ldefs-boot-auto is not -## sufficient for bootstrap. -generate-ldefs-boot: all - echo "Generating Bootstrap ldefs" - cp lisp/loaddefs.el lisp/ldefs-boot-auto.el - $(MAKE) -j 1 bootstrap \ - GENERATE_LDEFS_BOOT="generate-ldefs-boot" \ - 2>&1 | tee lisp/ldefs-boot-auto.temp - $(EMACS) -batch --load admin/ldefs-clean.el --funcall ldefs-clean - rm lisp/ldefs-boot-auto.temp +generate-ldefs-boot: + echo "Generating ldefs-boot-auto.el" + $(MAKE) -C src generate-ldefs-boot |