# HG changeset patch # User Eli Zaretskii # Date 1235829672 0 # Node ID 51e686047b3ba47e5c1c74524ce7145801f12cbc # Parent a1f0d8fadbb1523e0ceb6bdac35a8f926c150991 (boot): Don't require b-emacs.exe if not building out of CVS. diff -r a1f0d8fadbb1 -r 51e686047b3b msdos/mainmake.v2 --- a/msdos/mainmake.v2 Sat Feb 28 13:52:03 2009 +0000 +++ b/msdos/mainmake.v2 Sat Feb 28 14:01:12 2009 +0000 @@ -67,11 +67,17 @@ # Find out which version of Emacs this is. version := ${shell sed -n -e '/(defconst emacs-version/s/^[^"]*\("[^"]*"\).*/\1/p' lisp/version.el} -# Do we need to bootstrap? +# Q: Do we need to bootstrap? +# A: Only if we find admin/admin.el, i.e. we are building out of CVS, +# and src/b-emacs.exe does not exist. This avoids building a +# bootstrap-emacs and recompiling Lisp files when building a +# pretest/release tarball. boot := +ifneq ($(wildcard admin/admin.el),) ifeq ($(wildcard src/b-emacs.exe),) boot := b-emacs.exe endif +endif # Subdirectories to run Make. `lisp' is not included because the # compiled lisp files are part of the distribution. (If we are