diff lisp/makefile.w32-in @ 71163:b1bc5d576c4c

(EMACS): Remove quotes from the Emacs executable file name. (emacs): Enclose the value of $(EMACS) in quotes.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 02 Jun 2006 09:48:28 +0000
parents ab5d3aa997df
children b75b26c046ad
line wrap: on
line diff
--- a/lisp/makefile.w32-in	Fri Jun 02 09:39:54 2006 +0000
+++ b/lisp/makefile.w32-in	Fri Jun 02 09:48:28 2006 +0000
@@ -33,7 +33,7 @@
 # You can specify a different executable on the make command line,
 # e.g. "make EMACS=../src/emacs ...".
 
-EMACS = "$(THISDIR)/../bin/emacs.exe"
+EMACS = $(THISDIR)/../bin/emacs.exe
 
 # Command line flags for Emacs.  This must include --multibyte,
 # otherwise some files will not compile.
@@ -61,8 +61,11 @@
 	$(lisp)/progmodes/cc-vars.el
 
 # The actual Emacs command run in the targets below.
+# The quotes around $(EMACS) are here because the user could type
+# it with forward slashes and without quotes, which will fail if
+# the shell is cmd.exe.
 
-emacs = $(EMACS) $(EMACSOPT)
+emacs = "$(EMACS)" $(EMACSOPT)
 
 # Common command to find subdirectories