This commit was generated by cvs2svn to compensate for changes in r8000,
[elisp/gnus.git-] / make.bat
index 9e31066..4a6b8a0 100755 (executable)
--- a/make.bat
+++ b/make.bat
@@ -1,14 +1,14 @@
 @echo off\r
 \r
-rem Written by David Charlap (shamino@writeme.com)\r
-rem\r
-rem There are two possible problems with this batch file.  The emacs.bat batch\r
-rem file may not exist in all distributions.  It is part of the GNU build of\r
-rem Emacs 20.4 (http://www.gnu.org/softare/emacs/windows.ntemacs.html)  If you\r
-rem install Gnus with some other build, you may have to replace calls to\r
+rem Written by David Charlap <shamino@writeme.com>\r
+\r
+rem There are two catches, however.  The emacs.bat batch file may not exist\r
+rem in all distributions.  It is part of the Voelker build of Emacs 19.34\r
+rem (http://www.cs.washington.edu/homes/voelker/ntemacs.html).  If the user\r
+rem installs Gnus with some other build, he may have to replace calls to\r
 rem %1\emacs.bat with something else.\r
 rem \r
-rem Also, the emacs.bat file that comes with Emacs does not accept more than 9\r
+rem Also, the emacs.bat file that Voelker ships does not accept more than 9\r
 rem parameters, so the attempts to compile the .texi files will fail.  To\r
 rem fix that (at least on NT.  I don't know about Win95), the following\r
 rem change should be made to emacs.bat:\r
@@ -22,34 +22,21 @@ rem
 rem which will allow the batch file to accept an unlimited number of\r
 rem parameters.\r
 \r
-rem Clear PWD so emacs doesn't get confused\r
-set GNUS_PWD_SAVE=%PWD%\r
-set PWD=\r
-\r
 if "%1" == "" goto usage\r
 \r
-rem Emacs 20.7 no longer includes emacs.bat. Use emacs.exe if the batch file is\r
-rem not present -- this also fixes the problem about too many parameters on Win9x.\r
-set emacs=emacs.exe\r
-if exist %1\bin\emacs.bat set emacs=emacs.bat\r
-\r
 cd lisp\r
-call %1\bin\%emacs% -batch -q -no-site-file -l ./dgnushack.el -f dgnushack-compile\r
+call %1\bin\emacs.bat -batch -q -no-site-file -l ./dgnushack.el -f dgnushack-compile\r
 if not "%2" == "copy" goto info\r
-attrib -r %1\lisp\gnus\*\r
-copy *.el* %1\lisp\gnus\r
+copy *.el* %1\lisp\r
 \r
 :info\r
-set EMACSINFOHACK="(while (re-search-forward \"@\\(end \\)?ifnottex\" nil t) (replace-match \"\"))"\r
 cd ..\texi\r
-call %1\bin\%emacs% -batch -q -no-site-file message.texi -eval %EMACSINFOHACK% -f texinfo-every-node-update -f texinfo-format-buffer -f save-buffer\r
-call %1\bin\%emacs% -batch -q -no-site-file emacs-mime.texi -eval %EMACSINFOHACK% -f texinfo-every-node-update -f texinfo-format-buffer -f save-buffer\r
-call %1\bin\%emacs% -batch -q -no-site-file gnus.texi -eval %EMACSINFOHACK% -eval "(setq max-lisp-eval-depth 600)" -f texinfo-every-node-update -f texinfo-format-buffer -f save-buffer\r
+call %1\bin\emacs.bat -batch -q -no-site-file gnus.texi -l texinfmt -f texinfo-every-node-update -f texinfo-format-buffer -f save-buffer\r
+call %1\bin\emacs.bat -batch -q -no-site-file message.texi -l texinfmt -f texinfo-every-node-update -f texinfo-format-buffer -f save-buffer\r
 if not "%2" == "copy" goto done\r
 copy gnus %1\info\r
 copy gnus-?? %1\info\r
 copy message %1\info\r
-copy emacs-mime %1\info\r
 \r
 :etc\r
 cd ..\etc\r
@@ -60,18 +47,11 @@ cd ..
 goto end\r
 \r
 :usage\r
-echo Usage: make :emacs-dir: [copy]\r
+echo Usage: make ^<emacs-dir^> [copy]\r
 echo.\r
-echo where: :emacs-dir: is the directory you installed emacs in\r
-echo                    eg. d:\emacs\20.4\r
+echo where: ^<emacs-dir^> is the directory you installed emacs in\r
+echo                    eg. d:\emacs\19.34\r
 echo        copy indicates that the compiled files should be copied to your\r
 echo             emacs lisp, info, and etc directories\r
-echo.\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
 \r
-rem Restore PWD so whoever called this batch file doesn't get confused\r
-set PWD=%GNUS_PWD_SAVE%\r
-set GNUS_PWD_SAVE=\r
 :end\r