(gnus-version-number): Bumped version.
[gnus] / make.bat
index cce7352..c4c8cc4 100644 (file)
--- a/make.bat
+++ b/make.bat
@@ -35,16 +35,17 @@ if exist %1\bin\emacs.bat set emacs=emacs.bat
 \r
 cd lisp\r
 call %1\bin\%emacs% -batch -q -no-site-file -l ./dgnushack.el -f dgnushack-compile\r
-if not "%2" == "copy" goto info\r
+if not "%2" == "/copy" goto info\r
 attrib -r %1\lisp\gnus\*\r
 copy *.el* %1\lisp\gnus\r
 \r
 :info\r
+set EMACSINFO=call %1\bin\%emacs% -no-site-file -no-init-file -batch -q -l infohack.el -f batch-makeinfo\r
 cd ..\texi\r
-call %1\bin\%emacs% -batch -q -no-site-file message.texi -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 -f texinfo-every-node-update -f texinfo-format-buffer -f save-buffer\r
-call %1\bin\%emacs% -batch -q -no-site-file gnus.texi -f texinfo-every-node-update -f texinfo-format-buffer -f save-buffer\r
-if not "%2" == "copy" goto done\r
+%EMACSINFO% message.texi\r
+%EMACSINFO% emacs-mime.texi\r
+%EMACSINFO% gnus.texi\r
+if not "%2" == "/copy" goto done\r
 copy gnus %1\info\r
 copy gnus-?? %1\info\r
 copy message %1\info\r
@@ -59,12 +60,16 @@ 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 where: :emacs-dir: is the directory you installed emacs in\r
 echo                    eg. d:\emacs\20.4\r
-echo        copy indicates that the compiled files should be copied to your\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