diff options
| author | Eli Zaretskii | 2012-03-25 20:17:46 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-03-25 20:17:46 +0200 |
| commit | e5a69fd00a424f59f2ef7be8049b47340ddaa1ca (patch) | |
| tree | 23541145e69bc2288d2a931f4b4c9d66c35db67d /lisp | |
| parent | bf43fa51a6aabd68659c90eeb42a1b214820ea4a (diff) | |
| download | emacs-e5a69fd00a424f59f2ef7be8049b47340ddaa1ca.tar.gz emacs-e5a69fd00a424f59f2ef7be8049b47340ddaa1ca.zip | |
Fix parallel "make install" on MS-Windows.
nt/makefile.w32-in (install-bin): Don't copy addpm.exe here. Use
$(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
on other (parallel) Make job's toes.
(install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
(install-shortcuts): Depend on $(INSTALL_DIR)/bin. Copy addpm.exe
here.
(maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist): Depend
on create-tmp-dist-dir.
nt/nmake.defs (DIRNAME): New variable.
(IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
same-dir.tst.
nt/gmake.defs (DIRNAME): New variable.
(IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
same-dir.tst, to avoid conflicts between several (parallel) Make
jobs.
lisp/makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
of same-dir.tst, to avoid stepping on other (parallel) Make job's
toes.
leim/makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
of same-dir.tst, to avoid stepping on other (parallel) Make job's
toes.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/makefile.w32-in | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a6220b11be7..5a0c33da3c8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-03-25 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead | ||
| 4 | of same-dir.tst, to avoid stepping on other (parallel) Make job's | ||
| 5 | toes. | ||
| 6 | |||
| 1 | 2012-03-25 Chong Yidong <cyd@gnu.org> | 7 | 2012-03-25 Chong Yidong <cyd@gnu.org> |
| 2 | 8 | ||
| 3 | * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the | 9 | * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the |
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in index 33c87778dfd..7907c5f10ce 100644 --- a/lisp/makefile.w32-in +++ b/lisp/makefile.w32-in | |||
| @@ -510,9 +510,9 @@ bootstrap: update-subdirs autoloads mh-autoloads compile finder-data custom-deps | |||
| 510 | # | 510 | # |
| 511 | install: | 511 | install: |
| 512 | - mkdir "$(INSTALL_DIR)/lisp" | 512 | - mkdir "$(INSTALL_DIR)/lisp" |
| 513 | - $(DEL) ../same-dir.tst | 513 | - $(DEL) ../$(DIRNAME)_same-dir.tst |
| 514 | - $(DEL) "$(INSTALL_DIR)/same-dir.tst" | 514 | - $(DEL) "$(INSTALL_DIR)/$(DIRNAME)_same-dir.tst" |
| 515 | echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst" | 515 | echo SameDirTest > "$(INSTALL_DIR)/$(DIRNAME)_same-dir.tst" |
| 516 | #ifdef COPY_LISP_SOURCE | 516 | #ifdef COPY_LISP_SOURCE |
| 517 | $(IFNOTSAMEDIR) $(MAKE) $(MFLAGS) install-lisp-$(SHELLTYPE) $(ENDIF) | 517 | $(IFNOTSAMEDIR) $(MAKE) $(MFLAGS) install-lisp-$(SHELLTYPE) $(ENDIF) |
| 518 | #else | 518 | #else |
| @@ -528,8 +528,8 @@ install: | |||
| 528 | # $(IFNOTSAMEDIR) $(CP) international/latin-*.el "$(INSTALL_DIR)/lisp/international" $(ENDIF) | 528 | # $(IFNOTSAMEDIR) $(CP) international/latin-*.el "$(INSTALL_DIR)/lisp/international" $(ENDIF) |
| 529 | # $(IFNOTSAMEDIR) $(CP) international/mule-conf.el "$(INSTALL_DIR)/lisp/international" $(ENDIF) | 529 | # $(IFNOTSAMEDIR) $(CP) international/mule-conf.el "$(INSTALL_DIR)/lisp/international" $(ENDIF) |
| 530 | #endif | 530 | #endif |
| 531 | - $(DEL) ../same-dir.tst | 531 | - $(DEL) ../$(DIRNAME)_same-dir.tst |
| 532 | - $(DEL) "$(INSTALL_DIR)/same-dir.tst" | 532 | - $(DEL) "$(INSTALL_DIR)/$(DIRNAME)_same-dir.tst" |
| 533 | 533 | ||
| 534 | # Need to copy *.el files first, to avoid "source file is newer" annoyance | 534 | # Need to copy *.el files first, to avoid "source file is newer" annoyance |
| 535 | # since cp does not preserve time stamps | 535 | # since cp does not preserve time stamps |