Synch with Oort Gnus.
[elisp/gnus.git-] / make.bat
index 9e31066..6e5d96c 100755 (executable)
--- a/make.bat
+++ b/make.bat
@@ -40,11 +40,11 @@ attrib -r %1\lisp\gnus\*
 copy *.el* %1\lisp\gnus\r
 \r
 :info\r
-set EMACSINFOHACK="(while (re-search-forward \"@\\(end \\)?ifnottex\" nil t) (replace-match \"\"))"\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 -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
+%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