aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2009-08-22 22:16:58 +0000
committerGlenn Morris2009-08-22 22:16:58 +0000
commit7763401bac994e1c6bf94cba3b2a445927df40cd (patch)
tree908f00ee7b8c5a0347ed1914a2cfb73e50fdc8e7 /src
parenta337468045409bc0d9179f4cdda010dbab2a5989 (diff)
downloademacs-7763401bac994e1c6bf94cba3b2a445927df40cd.tar.gz
emacs-7763401bac994e1c6bf94cba3b2a445927df40cd.zip
(bootstrap_exe): New variable.
(.el.elc, ${lispsource}loaddefs.el, bootstrap-emacs${EXEEXT}): Use ${bootstrap_exe}.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/Makefile.in8
2 files changed, 11 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 548f1c3dc40..0859ccb5bbf 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12009-08-22 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (bootstrap_exe): New variable.
4 (.el.elc, ${lispsource}loaddefs.el, bootstrap-emacs${EXEEXT}):
5 Use ${bootstrap_exe}.
6
12009-08-22 Eli Zaretskii <eliz@gnu.org> 72009-08-22 Eli Zaretskii <eliz@gnu.org>
2 8
3 * coding.h (encode_coding_string): Don't encode unibyte strings. 9 * coding.h (encode_coding_string): Don't encode unibyte strings.
diff --git a/src/Makefile.in b/src/Makefile.in
index 425cf98f922..8ee2f6c4ff7 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -63,6 +63,8 @@ M_FILE = ${srcdir}/@machfile@
63S_FILE = ${srcdir}/@opsysfile@ 63S_FILE = ${srcdir}/@opsysfile@
64config_h = config.h $(M_FILE) $(S_FILE) 64config_h = config.h $(M_FILE) $(S_FILE)
65 65
66bootstrap_exe = ../src/bootstrap-emacs${EXEEXT}
67
66# ========================== start of cpp stuff ======================= 68# ========================== start of cpp stuff =======================
67/* From here on, comments must be done in C syntax. */ 69/* From here on, comments must be done in C syntax. */
68 70
@@ -1361,13 +1363,13 @@ tags: TAGS TAGS-LISP $(lwlibdir)TAGS
1361 With GNU Make, we would just say "%.el : %.elc $(BOOTSTRAPEMACS)" */ 1363 With GNU Make, we would just say "%.el : %.elc $(BOOTSTRAPEMACS)" */
1362.el.elc: 1364.el.elc:
1363 @cd ../lisp; $(MAKE) $(MFLAGS) compile-onefile \ 1365 @cd ../lisp; $(MAKE) $(MFLAGS) compile-onefile \
1364 THEFILE=$< EMACS=../src/bootstrap-emacs${EXEEXT} 1366 THEFILE=$< EMACS=${bootstrap_exe}
1365 1367
1366/* Since the .el.elc rule cannot specify an extra dependency, we do it here. */ 1368/* Since the .el.elc rule cannot specify an extra dependency, we do it here. */
1367${lisp} ${SOME_MACHINE_LISP}: $(BOOTSTRAPEMACS) 1369${lisp} ${SOME_MACHINE_LISP}: $(BOOTSTRAPEMACS)
1368 1370
1369${lispsource}loaddefs.el: $(BOOTSTRAPEMACS) 1371${lispsource}loaddefs.el: $(BOOTSTRAPEMACS)
1370 cd ../lisp; $(MAKE) $(MFLAGS) autoloads EMACS=../src/bootstrap-emacs${EXEEXT} 1372 cd ../lisp; $(MAKE) $(MFLAGS) autoloads EMACS=${bootstrap_exe}
1371 1373
1372/* Dump an Emacs executable named bootstrap-emacs containing the 1374/* Dump an Emacs executable named bootstrap-emacs containing the
1373 files from loadup.el in source form. */ 1375 files from loadup.el in source form. */
@@ -1381,4 +1383,4 @@ bootstrap-emacs${EXEEXT}: temacs${EXEEXT}
1381 mv -f emacs${EXEEXT} bootstrap-emacs${EXEEXT} 1383 mv -f emacs${EXEEXT} bootstrap-emacs${EXEEXT}
1382#endif /* ! defined (CANNOT_DUMP) */ 1384#endif /* ! defined (CANNOT_DUMP) */
1383 @: Compile some files earlier to speed up further compilation. 1385 @: Compile some files earlier to speed up further compilation.
1384 cd ../lisp; $(MAKE) $(MFLAGS) compile-first EMACS=../src/bootstrap-emacs${EXEEXT} 1386 cd ../lisp; $(MAKE) $(MFLAGS) compile-first EMACS=${bootstrap_exe}