]> git.eshelyaron.com Git - emacs.git/commitdiff
(EMACS): Remove quotes from the Emacs executable file name.
authorEli Zaretskii <eliz@gnu.org>
Fri, 2 Jun 2006 09:48:28 +0000 (09:48 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 2 Jun 2006 09:48:28 +0000 (09:48 +0000)
(emacs): Enclose the value of $(EMACS) in quotes.

lisp/makefile.w32-in

index 15fab8083813c0e39fee2e3407c2c1c73db7c748..16c2ae154416fb6adcd562269480d41b8f0a1cbf 100644 (file)
@@ -33,7 +33,7 @@ srcdir = $(CURDIR)/..
 # 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 @@ COMPILE_FIRST = \
        $(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