diff options
| author | Eli Zaretskii | 2012-06-16 16:17:14 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2012-06-16 16:17:14 +0300 |
| commit | 6eb93f60be979b75f803df4963f69c09702f2225 (patch) | |
| tree | a3852fb5ee86bcd5efb53e0eeb97ab8ac46d13e7 | |
| parent | e5560ff7d28c684003ed598a9390e17f9fb92d34 (diff) | |
| download | emacs-6eb93f60be979b75f803df4963f69c09702f2225.tar.gz emacs-6eb93f60be979b75f803df4963f69c09702f2225.zip | |
Fix "make dist" on MS-Windows.
nt/makefile.w32-in (install-addpm): New target.
(dist): Depend on it.
(install-shortcuts): Depend on install-addpm instead of copying
addpm.exe as part of the recipe. See
http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
for the related problem and discussions.
| -rw-r--r-- | nt/ChangeLog | 9 | ||||
| -rw-r--r-- | nt/makefile.w32-in | 6 |
2 files changed, 13 insertions, 2 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index a103c8b1c2c..cc5fda97755 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2012-06-16 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * makefile.w32-in (install-addpm): New target. | ||
| 4 | (dist): Depend on it. | ||
| 5 | (install-shortcuts): Depend on install-addpm instead of copying | ||
| 6 | addpm.exe as part of the recipe. See | ||
| 7 | http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html | ||
| 8 | for the related problem and discussions. | ||
| 9 | |||
| 1 | 2012-06-11 Glenn Morris <rgm@gnu.org> | 10 | 2012-06-11 Glenn Morris <rgm@gnu.org> |
| 2 | 11 | ||
| 3 | * config.nt (SYSTEM_TYPE): Define it. | 12 | * config.nt (SYSTEM_TYPE): Define it. |
diff --git a/nt/makefile.w32-in b/nt/makefile.w32-in index 3ddf3a04cb6..274ce7e5271 100644 --- a/nt/makefile.w32-in +++ b/nt/makefile.w32-in | |||
| @@ -257,8 +257,10 @@ install-other-dirs-gmake: all | |||
| 257 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp install | 257 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp install |
| 258 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim install | 258 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim install |
| 259 | 259 | ||
| 260 | install-shortcuts: $(INSTALL_DIR)/bin | 260 | install-addpm: $(INSTALL_DIR)/bin addpm |
| 261 | - $(CP) $(BLD)/addpm.exe $(INSTALL_DIR)/bin | 261 | - $(CP) $(BLD)/addpm.exe $(INSTALL_DIR)/bin |
| 262 | |||
| 263 | install-shortcuts: install-addpm | ||
| 262 | "$(INSTALL_DIR)/bin/addpm" -q | 264 | "$(INSTALL_DIR)/bin/addpm" -q |
| 263 | 265 | ||
| 264 | maybe-copy-distfiles: maybe-copy-distfiles-$(SHELLTYPE) | 266 | maybe-copy-distfiles: maybe-copy-distfiles-$(SHELLTYPE) |
| @@ -276,7 +278,7 @@ create-tmp-dist-dir: | |||
| 276 | # Also create bin directory for dist files. | 278 | # Also create bin directory for dist files. |
| 277 | mkdir "$(TMP_DIST_DIR)/bin" | 279 | mkdir "$(TMP_DIST_DIR)/bin" |
| 278 | 280 | ||
| 279 | dist: install-bin maybe-copy-distfiles | 281 | dist: install-bin install-addpm maybe-copy-distfiles |
| 280 | $(CP) "$(INSTALL_DIR)/BUGS" $(TMP_DIST_DIR) | 282 | $(CP) "$(INSTALL_DIR)/BUGS" $(TMP_DIST_DIR) |
| 281 | $(CP) "$(INSTALL_DIR)/COPYING" $(TMP_DIST_DIR) | 283 | $(CP) "$(INSTALL_DIR)/COPYING" $(TMP_DIST_DIR) |
| 282 | $(CP) "$(INSTALL_DIR)/README" $(TMP_DIST_DIR) | 284 | $(CP) "$(INSTALL_DIR)/README" $(TMP_DIST_DIR) |