aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2012-07-28 14:21:43 +0300
committerEli Zaretskii2012-07-28 14:21:43 +0300
commit20329d736fea9768c118f09cf580ad82c40b62bd (patch)
treef912bbcdbef14b40897a58d908a5e2f4edfa3d38
parent7fa20d96f1c9e351b783cfa3347de3ca7f26a7d6 (diff)
downloademacs-20329d736fea9768c118f09cf580ad82c40b62bd.tar.gz
emacs-20329d736fea9768c118f09cf580ad82c40b62bd.zip
More fixes in lisp/ for parallel builds on MS-Windows.
lisp/makefile.w32-in (custom-deps, finder-data, updates, compile) (compile-always, compile-first) ($(lisp)/calendar/cal-loaddefs.el) ($(lisp)/calendar/diary-loaddefs.el) ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el) ($(lisp)/net/tramp-loaddefs.el, bootstrap) ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el, instead of on update-subdirs. (bootstrap-clean): Delete $(lisp)/subdirs.el.
-rw-r--r--lisp/ChangeLog12
-rw-r--r--lisp/makefile.w32-in28
2 files changed, 27 insertions, 13 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 410a23592df..d8e8575db89 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,15 @@
12012-07-28 Eli Zaretskii <eliz@gnu.org>
2
3 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4 (compile-always, compile-first)
5 ($(lisp)/calendar/cal-loaddefs.el)
6 ($(lisp)/calendar/diary-loaddefs.el)
7 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10 instead of on update-subdirs.
11 (bootstrap-clean): Delete $(lisp)/subdirs.el.
12
12012-07-28 Chong Yidong <cyd@gnu.org> 132012-07-28 Chong Yidong <cyd@gnu.org>
2 14
3 * simple.el (delete-trailing-lines): New option. 15 * simple.el (delete-trailing-lines): New option.
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in
index 92d939af018..c7d883e4295 100644
--- a/lisp/makefile.w32-in
+++ b/lisp/makefile.w32-in
@@ -168,12 +168,12 @@ $(lisp)/cus-load.el:
168 168
169# WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as 169# WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
170# this can break with GNU Make 3.81 and later if sh.exe is used. 170# this can break with GNU Make 3.81 and later if sh.exe is used.
171custom-deps: $(lisp)/cus-load.el $(lisp)/loaddefs.el doit 171custom-deps: $(lisp)/cus-load.el $(lisp)/loaddefs.el $(lisp)/subdirs.el doit
172 @echo Directories: $(WINS_UPDATES) 172 @echo Directories: $(WINS_UPDATES)
173 -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hook nil)$(ARGQUOTE) \ 173 -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hook nil)$(ARGQUOTE) \
174 -f custom-make-dependencies $(lisp) $(WINS_UPDATES) 174 -f custom-make-dependencies $(lisp) $(WINS_UPDATES)
175 175
176finder-data: $(lisp)/loaddefs.el doit 176finder-data: $(lisp)/loaddefs.el $(lisp)/subdirs.el doit
177 @echo Directories: $(WINS_UPDATES) 177 @echo Directories: $(WINS_UPDATES)
178 $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS_UPDATES) 178 $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS_UPDATES)
179 179
@@ -243,7 +243,7 @@ update-subdirs-SH: doit
243 $(srcdir)/build-aux/update-subdirs $$file; \ 243 $(srcdir)/build-aux/update-subdirs $$file; \
244 done; 244 done;
245 245
246updates: update-subdirs autoloads mh-autoloads finder-data custom-deps 246updates: $(lisp)/subdirs.el autoloads mh-autoloads finder-data custom-deps
247 247
248# This is useful after "bzr up". 248# This is useful after "bzr up".
249bzr-update: recompile autoloads finder-data custom-deps 249bzr-update: recompile autoloads finder-data custom-deps
@@ -311,7 +311,7 @@ TAGS-LISP-CMD: $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsf
311# compiled find the right files. 311# compiled find the right files.
312 312
313# Need separate version for sh and native cmd.exe 313# Need separate version for sh and native cmd.exe
314compile: update-subdirs compile-$(SHELLTYPE) doit 314compile: $(lisp)/subdirs.el compile-$(SHELLTYPE) doit
315 315
316compile-CMD: autoloads 316compile-CMD: autoloads
317# -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g 317# -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g
@@ -340,7 +340,7 @@ compile-SH: autoloads
340# unconditionally. Some files don't actually get compiled because they 340# unconditionally. Some files don't actually get compiled because they
341# set the local variable no-byte-compile. 341# set the local variable no-byte-compile.
342 342
343compile-always: update-subdirs compile-always-$(SHELLTYPE) doit 343compile-always: $(lisp)/subdirs.el compile-always-$(SHELLTYPE) doit
344 344
345compile-always-CMD: 345compile-always-CMD:
346# -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g 346# -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g
@@ -383,7 +383,7 @@ backup-compiled-files:
383compile-after-backup: backup-compiled-files compile-always 383compile-after-backup: backup-compiled-files compile-always
384 384
385compile-first: $(lisp)/emacs-lisp/bytecomp.elc $(lisp)/emacs-lisp/byte-opt.elc \ 385compile-first: $(lisp)/emacs-lisp/bytecomp.elc $(lisp)/emacs-lisp/byte-opt.elc \
386 $(lisp)/emacs-lisp/autoload.elc 386 $(lisp)/emacs-lisp/autoload.elc $(lisp)/subdirs.el
387 387
388# Recompile all Lisp files which are newer than their .elc files. 388# Recompile all Lisp files which are newer than their .elc files.
389# Note that this doesn't create .elc files. It only recompiles if an 389# Note that this doesn't create .elc files. It only recompiles if an
@@ -393,7 +393,7 @@ compile-first: $(lisp)/emacs-lisp/bytecomp.elc $(lisp)/emacs-lisp/byte-opt.elc
393recompile: compile-first autoloads doit $(lisp)/progmodes/cc-mode.elc 393recompile: compile-first autoloads doit $(lisp)/progmodes/cc-mode.elc
394 $(emacs) --eval $(ARGQUOTE)(batch-byte-recompile-directory 0)$(ARGQUOTE) $(lisp) 394 $(emacs) --eval $(ARGQUOTE)(batch-byte-recompile-directory 0)$(ARGQUOTE) $(lisp)
395 395
396$(lisp)/calendar/cal-loaddefs.el: update-subdirs 396$(lisp)/calendar/cal-loaddefs.el: $(lisp)/subdirs.el
397 "$(EMACS)" $(EMACSOPT) -l autoload \ 397 "$(EMACS)" $(EMACSOPT) -l autoload \
398 --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ 398 --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \
399 --eval "(setq find-file-suppress-same-file-warnings t)" \ 399 --eval "(setq find-file-suppress-same-file-warnings t)" \
@@ -401,7 +401,7 @@ $(lisp)/calendar/cal-loaddefs.el: update-subdirs
401 -f w32-batch-update-autoloads "$(lisp)/calendar/cal-loaddefs.el" \ 401 -f w32-batch-update-autoloads "$(lisp)/calendar/cal-loaddefs.el" \
402 $(MAKE) ./calendar 402 $(MAKE) ./calendar
403 403
404$(lisp)/calendar/diary-loaddefs.el: update-subdirs 404$(lisp)/calendar/diary-loaddefs.el: $(lisp)/subdirs.el
405 "$(EMACS)" $(EMACSOPT) -l autoload \ 405 "$(EMACS)" $(EMACSOPT) -l autoload \
406 --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \ 406 --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \
407 --eval "(setq find-file-suppress-same-file-warnings t)" \ 407 --eval "(setq find-file-suppress-same-file-warnings t)" \
@@ -409,7 +409,7 @@ $(lisp)/calendar/diary-loaddefs.el: update-subdirs
409 -f w32-batch-update-autoloads $(lisp)/calendar/diary-loaddefs.el \ 409 -f w32-batch-update-autoloads $(lisp)/calendar/diary-loaddefs.el \
410 $(MAKE) ./calendar 410 $(MAKE) ./calendar
411 411
412$(lisp)/calendar/hol-loaddefs.el: update-subdirs 412$(lisp)/calendar/hol-loaddefs.el: $(lisp)/subdirs.el
413 "$(EMACS)" $(EMACSOPT) -l autoload \ 413 "$(EMACS)" $(EMACSOPT) -l autoload \
414 --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \ 414 --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \
415 --eval "(setq find-file-suppress-same-file-warnings t)" \ 415 --eval "(setq find-file-suppress-same-file-warnings t)" \
@@ -437,7 +437,7 @@ MH_E_SRC = $(lisp)/mh-e/mh-acros.el $(lisp)/mh-e/mh-alias.el \
437# See the commentary for autoloads above for why we use ./mh-e below 437# See the commentary for autoloads above for why we use ./mh-e below
438# instead of $(lisp)/mh-e. 438# instead of $(lisp)/mh-e.
439mh-autoloads: $(lisp)/mh-e/mh-loaddefs.el 439mh-autoloads: $(lisp)/mh-e/mh-loaddefs.el
440$(lisp)/mh-e/mh-loaddefs.el: $(MH_E_SRC) update-subdirs 440$(lisp)/mh-e/mh-loaddefs.el: $(MH_E_SRC) $(lisp)/subdirs.el
441 "$(EMACS)" $(EMACSOPT) \ 441 "$(EMACS)" $(EMACSOPT) \
442 -l autoload \ 442 -l autoload \
443 --eval $(ARGQUOTE)(setq generate-autoload-cookie $(DQUOTE);;;###mh-autoload$(DQUOTE))$(ARGQUOTE) \ 443 --eval $(ARGQUOTE)(setq generate-autoload-cookie $(DQUOTE);;;###mh-autoload$(DQUOTE))$(ARGQUOTE) \
@@ -456,7 +456,7 @@ TRAMP_SRC = $(lisp)/net/tramp.el $(lisp)/net/tramp-cache.el \
456 $(lisp)/net/tramp-smb.el $(lisp)/net/tramp-uu.el \ 456 $(lisp)/net/tramp-smb.el $(lisp)/net/tramp-uu.el \
457 $(lisp)/net/trampver.el 457 $(lisp)/net/trampver.el
458 458
459$(lisp)/net/tramp-loaddefs.el: $(TRAMP_SRC) update-subdirs 459$(lisp)/net/tramp-loaddefs.el: $(TRAMP_SRC) $(lisp)/subdirs.el
460 "$(EMACS)" $(EMACSOPT) \ 460 "$(EMACS)" $(EMACSOPT) \
461 -l autoload \ 461 -l autoload \
462 --eval $(ARGQUOTE)(setq generate-autoload-cookie $(DQUOTE);;;###tramp-autoload$(DQUOTE))$(ARGQUOTE) \ 462 --eval $(ARGQUOTE)(setq generate-autoload-cookie $(DQUOTE);;;###tramp-autoload$(DQUOTE))$(ARGQUOTE) \
@@ -481,6 +481,7 @@ $(lisp)/net/tramp-loaddefs.el: $(TRAMP_SRC) update-subdirs
481# Need separate version for sh and native cmd.exe 481# Need separate version for sh and native cmd.exe
482bootstrap-clean: 482bootstrap-clean:
483 - $(DEL) $(lisp)/loaddefs.el 483 - $(DEL) $(lisp)/loaddefs.el
484 - $(DEL) $(lisp)/subdirs.el
484 $(MAKE) $(MFLAGS) bootstrap-clean-$(SHELLTYPE) 485 $(MAKE) $(MFLAGS) bootstrap-clean-$(SHELLTYPE)
485 486
486bootstrap-clean-CMD: 487bootstrap-clean-CMD:
@@ -496,7 +497,7 @@ bootstrap-clean-SH:
496# When done, remove bootstrap-emacs from ../bin, so that 497# When done, remove bootstrap-emacs from ../bin, so that
497# it will not be mistaken for an installed binary. 498# it will not be mistaken for an installed binary.
498 499
499bootstrap: update-subdirs compile finder-data custom-deps 500bootstrap: $(lisp)/subdirs.el compile finder-data custom-deps
500 - $(DEL) "$(EMACS)" 501 - $(DEL) "$(EMACS)"
501 502
502# 503#
@@ -600,7 +601,8 @@ $(lisp)/progmodes/cc-langs.elc: $(lisp)/progmodes/cc-vars.elc \
600$(lisp)/progmodes/cc-mode.elc: $(lisp)/progmodes/cc-langs.elc \ 601$(lisp)/progmodes/cc-mode.elc: $(lisp)/progmodes/cc-langs.elc \
601 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc \ 602 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc \
602 $(lisp)/progmodes/cc-styles.elc $(lisp)/progmodes/cc-cmds.elc \ 603 $(lisp)/progmodes/cc-styles.elc $(lisp)/progmodes/cc-cmds.elc \
603 $(lisp)/progmodes/cc-align.elc $(lisp)/progmodes/cc-menus.elc 604 $(lisp)/progmodes/cc-align.elc $(lisp)/progmodes/cc-menus.elc \
605 $(lisp)/subdirs.el
604 606
605$(lisp)/progmodes/cc-styles.elc: $(lisp)/progmodes/cc-vars.elc \ 607$(lisp)/progmodes/cc-styles.elc: $(lisp)/progmodes/cc-vars.elc \
606 $(lisp)/progmodes/cc-align.elc 608 $(lisp)/progmodes/cc-align.elc