Commit cbe02c1f authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Revert part of 2014-01-12T14:54:50Z! and fix the VCSWITNESS thingy. (src): Fix the computation of $vcswitness.
parent 194a9710
2014-01-12 Eric S. Raymond <>
2014-01-12 Eli Zaretskii <>
* Makefile, src/Makefile, etc/PROBLEMS: Remove broken VCSWITNESS
code, and explain the problem.
* (src): Fix the computation of $vcswitness.
2014-01-12 Glenn Morris <>
......@@ -374,12 +374,16 @@ lib lib-src lisp nt: Makefile FRC
# all preloaded elisp files, and only then dump the actual src/emacs, which
# is not wrong, but is overkill in 99.99% of the cases.
src: Makefile FRC
dirstate='.bzr/checkout/dirstate'; \
vcswitness='$(srcdir)/../'$$dirstate; \
[ -r "$(srcdir)/$$dirstate" ] || vcswitness=''; \
cd $@ || exit; \
boot=bootstrap-emacs$(EXEEXT); \
[ ! -x "$$boot" ] || boot=''; \
$(MAKE) all $(MFLAGS) \
blessmail: Makefile src FRC
cd lib-src && $(MAKE) maybe-blessmail $(MFLAGS) \
......@@ -2429,12 +2429,6 @@ The causes of this problem are not understood. Using GNU make 3.81 compiled
from source, rather than the Ubuntu version, worked.
See <URL:, <URL:>.
*** Rebuild of loaddefs.el is not always done after Lisp changes
The rebuild production should depend on all Lisp files with #autoload
cookies. It doesn't yet. This needs a configure-time improvement to
the nuild system.
** Dumping
*** Linux: Segfault during `make bootstrap' under certain recent versions of the Linux kernel.
......@@ -629,10 +629,12 @@ tags: TAGS ../lisp/TAGS $(lwlibdir)/TAGS
## Since the .el.elc rule cannot specify an extra dependency, we do it here.
## This ought to depend on every Lisp file that contains an autoload cookie.
## A task for the future...
## VCSWITNESS points to the file that holds info about the current checkout.
## We use it as a heuristic to decide when to rebuild loaddefs.el.
## If empty it is ignored; the parent makefile can set it to some other value.
$(lispsource)/loaddefs.el: $(BOOTSTRAPEMACS)
$(lispsource)/loaddefs.el: $(BOOTSTRAPEMACS) $(VCSWITNESS)
cd ../lisp; $(MAKE) $(MFLAGS) autoloads EMACS="$(bootstrap_exe)"
## Dump an Emacs executable named bootstrap-emacs containing the
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment