summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in17
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