From 3196bfd28616c4250f6afe532c891dbe7403badf Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 2 Jun 2006 09:48:28 +0000 Subject: [PATCH] (EMACS): Remove quotes from the Emacs executable file name. (emacs): Enclose the value of $(EMACS) in quotes. --- lisp/makefile.w32-in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in index 15fab808381..16c2ae15441 100644 --- a/lisp/makefile.w32-in +++ b/lisp/makefile.w32-in @@ -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 -- 2.39.5