Add dependencies to fix loaddefs race during parallel builds.
commit3bcff29cea902c92c2ddb20f992d2744fb404d12
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Aug 2014 16:50:32 +0000 (16 09:50 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Aug 2014 16:50:32 +0000 (16 09:50 -0700)
tree9494acedcc0f8ab4c0e3f55db7cc73b4a4d87246
parent2b4c15d829feb716fddf3f064c35faa2b951098c
Add dependencies to fix loaddefs race during parallel builds.

Without this, for example, 'make -j bootstrap' can fail and report
"Opening input file: no such file or directory,
.../lisp/calendar/diary-loaddefs.el ... recipe for target
'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
got confused because diary-loaddefs.el was being built in parallel.
* Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
Depend on $(CAL_DIR)/cal-loaddefs.el.
($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
lisp/ChangeLog
lisp/Makefile.in