diff options
Diffstat (limited to 'lisp/makefile.w32-in')
| -rw-r--r-- | lisp/makefile.w32-in | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in index aea34ed1474..93e9141f4cc 100644 --- a/lisp/makefile.w32-in +++ b/lisp/makefile.w32-in | |||
| @@ -33,7 +33,7 @@ srcdir = $(CURDIR)/.. | |||
| 33 | # You can specify a different executable on the make command line, | 33 | # You can specify a different executable on the make command line, |
| 34 | # e.g. "make EMACS=../src/emacs ...". | 34 | # e.g. "make EMACS=../src/emacs ...". |
| 35 | 35 | ||
| 36 | EMACS = "$(THISDIR)/../bin/emacs.exe" | 36 | EMACS = $(THISDIR)/../bin/emacs.exe |
| 37 | 37 | ||
| 38 | # Command line flags for Emacs. This must include --multibyte, | 38 | # Command line flags for Emacs. This must include --multibyte, |
| 39 | # otherwise some files will not compile. | 39 | # otherwise some files will not compile. |
| @@ -64,8 +64,11 @@ COMPILE_FIRST = \ | |||
| 64 | $(lisp)/progmodes/cc-vars.el | 64 | $(lisp)/progmodes/cc-vars.el |
| 65 | 65 | ||
| 66 | # The actual Emacs command run in the targets below. | 66 | # The actual Emacs command run in the targets below. |
| 67 | # The quotes around $(EMACS) are here because the user could type | ||
| 68 | # it with forward slashes and without quotes, which will fail if | ||
| 69 | # the shell is cmd.exe. | ||
| 67 | 70 | ||
| 68 | emacs = $(EMACS) $(EMACSOPT) | 71 | emacs = "$(EMACS)" $(EMACSOPT) |
| 69 | 72 | ||
| 70 | # Common command to find subdirectories | 73 | # Common command to find subdirectories |
| 71 | 74 | ||
| @@ -320,7 +323,7 @@ $(lisp)/mh-e/mh-loaddefs.el: $(MH_E_SRC) | |||
| 320 | $(MAKE) $(MFLAGS) pre-mh-loaddefs.el-$(SHELLTYPE) | 323 | $(MAKE) $(MFLAGS) pre-mh-loaddefs.el-$(SHELLTYPE) |
| 321 | cp pre-mh-loaddefs.el-$(SHELLTYPE) $@ | 324 | cp pre-mh-loaddefs.el-$(SHELLTYPE) $@ |
| 322 | rm pre-mh-loaddefs.el-$(SHELLTYPE) | 325 | rm pre-mh-loaddefs.el-$(SHELLTYPE) |
| 323 | $(EMACS) $(EMACSOPT) \ | 326 | "$(EMACS)" $(EMACSOPT) \ |
| 324 | -l autoload \ | 327 | -l autoload \ |
| 325 | --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ | 328 | --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ |
| 326 | --eval "(setq find-file-suppress-same-file-warnings t)" \ | 329 | --eval "(setq find-file-suppress-same-file-warnings t)" \ |
| @@ -381,12 +384,12 @@ pre-mh-loaddefs.el-CMD: | |||
| 381 | bootstrap-clean: bootstrap-clean-$(SHELLTYPE) $(lisp)/loaddefs.el | 384 | bootstrap-clean: bootstrap-clean-$(SHELLTYPE) $(lisp)/loaddefs.el |
| 382 | 385 | ||
| 383 | bootstrap-clean-CMD: | 386 | bootstrap-clean-CMD: |
| 384 | # if exist $(EMACS) $(MAKE) $(MFLAGS) autoloads | 387 | # if exist "$(EMACS)" $(MAKE) $(MFLAGS) autoloads |
| 385 | cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el | 388 | cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el |
| 386 | -for %%f in (. $(WINS)) do for %%g in (%%f\*.elc) do @$(DEL) %%g | 389 | -for %%f in (. $(WINS)) do for %%g in (%%f\*.elc) do @$(DEL) %%g |
| 387 | 390 | ||
| 388 | bootstrap-clean-SH: | 391 | bootstrap-clean-SH: |
| 389 | # if test -f $(EMACS); then $(MAKE) $(MFLAGS) autoloads; fi | 392 | # if test -f "$(EMACS)"; then $(MAKE) $(MFLAGS) autoloads; fi |
| 390 | # -rm -f $(lisp)/*.elc $(lisp)/*/*.elc | 393 | # -rm -f $(lisp)/*.elc $(lisp)/*/*.elc |
| 391 | cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el | 394 | cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el |
| 392 | -for dir in . $(WINS); do rm -f $$dir/*.elc; done | 395 | -for dir in . $(WINS); do rm -f $$dir/*.elc; done |
| @@ -396,7 +399,7 @@ bootstrap-clean-SH: | |||
| 396 | # it will not be mistaken for an installed binary. | 399 | # it will not be mistaken for an installed binary. |
| 397 | 400 | ||
| 398 | bootstrap: update-subdirs autoloads mh-autoloads compile finder-data custom-deps | 401 | bootstrap: update-subdirs autoloads mh-autoloads compile finder-data custom-deps |
| 399 | - $(DEL) $(EMACS) | 402 | - $(DEL) "$(EMACS)" |
| 400 | 403 | ||
| 401 | # | 404 | # |
| 402 | # Assuming INSTALL_DIR is defined, copy the elisp files to it | 405 | # Assuming INSTALL_DIR is defined, copy the elisp files to it |