Import No Gnus v0.4.
[elisp/gnus.git-] / make.bat
index 672284b..653d827 100755 (executable)
--- a/make.bat
+++ b/make.bat
@@ -3,6 +3,16 @@
 rem Written by Frank Schmitt (ich@frank-schmitt.net)\r
 rem based on the work by David Charlap (shamino@writeme.com)\r
 rem .\r
+rem .\r
+rem From http://my.gnus.org/node/343:\r
+rem   A comment on installing Gnus on Windows 98 SE that might help others: When\r
+rem   I ran the "make.bat" file in the 5.10.6 tarball I got a bunch of "Out of\r
+rem   environment space" messages. The solution was to (1) make a shortcut to\r
+rem   the make.bat file, and (2) right-click on the shortcut, setting "Cmd line"\r
+rem   in the "Program" tab in "properties" to include the parameters make.bat\r
+rem   requires, and "initial environment" in the "memories" tab, to the maximum\r
+rem   (in my case, anyway, 2560).\r
+rem .\r
 rem Clear PWD so emacs doesn't get confused\r
 set GNUS_PWD_SAVE=%PWD%\r
 set PWD=\r
@@ -21,8 +31,8 @@ goto noemacs
 set EMACS=emacs.bat\r
 echo.\r
 echo ***************************************************************************\r
-echo * Using emacs.bat (If you've got en Emacs >= 20.3 please remove Emacs.bat,\r
-echo * it isn't needed anymore.\r
+echo * Using emacs.bat  (If you've got Emacs 20.3 or higher please remove\r
+echo * Emacs.bat, it isn't needed anymore.)\r
 echo ***************************************************************************\r
 echo.\r
 goto emacs\r
@@ -187,9 +197,14 @@ if not exist %GNUS_ETC_DIR%\gnus\nul mkdir %GNUS_ETC_DIR%\gnus
 xcopy /R /Q /Y .\gnus\* %GNUS_ETC_DIR%\gnus\\r
 if ErrorLevel 1 set ERROR=%ERROR%,copy-etc-gnus-*\r
 if not exist %GNUS_ETC_DIR%\images\nul mkdir %GNUS_ETC_DIR%\images\r
+xcopy /R /Q /Y .\images\*.??? %GNUS_ETC_DIR%\images\r
+if ErrorLevel 1 set ERROR=%ERROR%,copy-etc-images-*\r
 if not exist %GNUS_ETC_DIR%\images\gnus\nul mkdir %GNUS_ETC_DIR%\images\gnus\r
 xcopy /R /Q /Y .\images\gnus\* %GNUS_ETC_DIR%\images\gnus\\r
 if ErrorLevel 1 set ERROR=%ERROR%,copy-etc-images-gnus-*\r
+if not exist %GNUS_ETC_DIR%\images\mail\nul mkdir %GNUS_ETC_DIR%\images\mail\r
+xcopy /R /Q /Y .\images\mail\* %GNUS_ETC_DIR%\images\mail\\r
+if ErrorLevel 1 set ERROR=%ERROR%,copy-etc-images-mail-*\r
 if not exist %GNUS_ETC_DIR%\images\smilies\nul mkdir %GNUS_ETC_DIR%\images\smilies\r
 xcopy /R /Q /Y .\images\smilies\* %GNUS_ETC_DIR%\images\smilies\\r
 if ErrorLevel 1 set ERROR=%ERROR%,copy-etc-images-smilies-*\r