]> code.delx.au - gnu-emacs/commitdiff
Removed the various "echo." lines from lisp\makefile.w32-in and nt\makefile.w32-in.
authorBen Key <bkey1@tampabay.rr.com>
Sat, 24 Jul 2004 04:52:27 +0000 (04:52 +0000)
committerBen Key <bkey1@tampabay.rr.com>
Sat, 24 Jul 2004 04:52:27 +0000 (04:52 +0000)
They caused mingw32-make.exe bootstrap to fail with the following error if cmd.exe
was being used as the shell:
  "process_begin: CreateProcess((null), echo., ...) failed."

I replaced the "@echo." lines in nt\makefile.w32-in with "@echo ."  This writes a .
to the screen but that is far more desirable than make bootstrap failing.

I replaced the "echo. ..." line in lisp\makefile.w32-in with "echo ;;; ...".  This
writes an extra comment line to loaddefs.el.  Again this is far more desirable than
make bootstrap failing.

NOTE: I am using cmd.exe as my shell when building Emacs with MinGW instead of
the sh.exe that comes with msys because when I use sh.exe as my shell, loaddefs.el
does not get properly generated and I get various auto load errors.

lisp/makefile.w32-in
nt/makefile.w32-in

index 826cf89bfec1e61565f2421b1fb74ae75ab81211..b2694bc2b78e1b1112e39b654ec60f798a0392d7 100644 (file)
@@ -209,7 +209,7 @@ loaddefs.el-CMD:
        echo (autoload 'define-derived-mode "derived")>> $@
        echo (autoload 'encoded-kbd-mode "encoded-kb")>> $@
        echo (defvar cvs-global-menu nil)>> $@
-       echo.\f>> $@
+       echo ;;; >> $@
        echo ;;; Local Variables:>> $@
        echo ;;; version-control: never>> $@
        echo ;;; no-byte-compile: t>> $@
index adbb3fd57b8f3fc6b9afaa7f57689510ec144406..ec30853ed299e577ef2ecf707ea5d18cc40c247f 100644 (file)
@@ -111,10 +111,10 @@ maybe-bootstrap: maybe-bootstrap-$(SHELLTYPE)
 doit:\r
 \r
 maybe-bootstrap-CMD:   doit\r
-       @echo.\r
+       @echo .\r
        @if not EXIST ..\lisp\abbrev.elc echo Essential Lisp files seem to be missing.  You should either\r
        @if not EXIST ..\lisp\abbrev.elc echo do 'make bootstrap' or create 'lisp/abbrev.elc' somehow\r
-       @echo.\r
+       @echo .\r
        @if not EXIST ..\lisp\abbrev.elc exit -1\r
 \r
 maybe-bootstrap-SH: doit\r