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 * Using emacs.bat (If you've got en Emacs >= 20.3 please remove Emacs.bat,\r
echo * it isn't needed anymore.\r
echo ***************************************************************************\r
echo.\r
if not exist %1\..\site-lisp\gnus mkdir %1\..\site-lisp\gnus\r
if not exist %1\..\site-lisp\subdirs.el set subdirwarning=yes\r
:emacsnocopy\r
+set EMACS_ARGS=-batch -q -no-site-file\r
set GNUS_INFO_DIR=%1\..\info\r
set GNUS_LISP_DIR=%1\..\site-lisp\gnus\lisp\r
set GNUS_ETC_DIR=%1\..\site-lisp\gnus\etc\r
goto lisp\r
- \r
-:xemacs \r
+\r
+:xemacs\r
set EMACS=xemacs.exe\r
if not "%2" == "/copy" goto xemacsnocopy\r
if not exist %1\..\..\site-packages\ mkdir %1\..\..\site-packages\\r
if not exist %1\..\..\site-packages\lisp mkdir %1\..\..\site-packages\lisp\r
if not exist %1\..\..\site-packages\etc mkdir %1\..\..\site-packages\etc\r
:xemacsnocopy\r
+set EMACS_ARGS=-batch -no-autoloads\r
set GNUS_INFO_DIR=%1\..\..\site-packages\info\r
set GNUS_LISP_DIR=%1\..\..\site-packages\lisp\gnus\r
set GNUS_ETC_DIR=%1\..\..\site-packages\etc\r
goto lisp\r
\r
:lisp\r
-set EMACSBATCH=call %1\%EMACS% -no-site-file -batch -q\r
+set EMACSBATCH=call %1\%EMACS% %EMACS_ARGS%\r
cd lisp\r
if exist gnus-load.el del gnus-load.el\r
echo.\r
cd ..\texi\r
if exist sieve del sieve\r
makeinfo sieve.texi\r
-if exist sieve goto minfo \r
+if exist sieve goto minfo\r
REM It seems that makeinfo isn't available\r
set EMACSINFO=%EMACSBATCH% -l infohack.el -f batch-makeinfo\r
echo.\r
goto info\r
\r
:minfo\r
-set EMACSINFO=makeinfo \r
+set EMACSINFO=makeinfo\r
echo.\r
echo ***************************************************************************\r
echo * Using makeinfo\r
\r
echo.\r
echo ***************************************************************************\r
-echo * You should add the following lines to \r
-echo * %GNUS_INFO_DIR%\dir \r
+echo * You should add the following lines to\r
+echo * %GNUS_INFO_DIR%\dir\r
echo * if they aren't already there:\r
echo *\r
echo * * PGG: (pgg). Emacs interface to various PGP implementations.\r
:nocopy\r
echo.\r
echo ***************************************************************************\r
-echo * You chose not to copy the files, therefore you should add the \r
+echo * You chose not to copy the files, therefore you should add the\r
echo * following lines to the TOP of your [X]emacs customization file:\r
echo *\r
echo * (add-to-list 'load-path "/Path/to/gnus/lisp")\r
echo ***************************************************************************\r
echo * Usage: make.bat :[X]Emacs-exe-dir: [/copy]\r
echo *\r
-echo * where: :[X]Emacs-exe-dir: is the directory your \r
-echo * emacs.exe respectively xemacs.exe resides in, \r
+echo * where: :[X]Emacs-exe-dir: is the directory your\r
+echo * emacs.exe respectively xemacs.exe resides in,\r
echo * e.g. G:\Programme\XEmacs\XEmacs-21.4.11\i586-pc-win32\\r
echo * or G:\Emacs\bin\r
echo * /copy indicates that the compiled files should be copied to your\r
echo * emacs lisp, info, and etc site directories.\r
echo *\r
-echo * Note: If you have Emacs/w3 you should set the environment variable \r
+echo * Note: If you have Emacs/w3 you should set the environment variable\r
echo * W3DIR to the directory where w3 is installed eg.\r
echo * set W3DIR=d:\lisp\w3-4.0pre46\lisp\r
echo ***************************************************************************\r