2000-10-12 Jesper Harder <jesper_harder@hotmail.com>
authorSimon Josefsson <jas@extundo.com>
Thu, 12 Oct 2000 16:10:10 +0000 (16:10 +0000)
committerSimon Josefsson <jas@extundo.com>
Thu, 12 Oct 2000 16:10:10 +0000 (16:10 +0000)
       * make.bat: Makes it possible to generate the Info files on
       windows again.

ChangeLog
make.bat

index e0d44c4..a9629c5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-12  Jesper Harder <jesper_harder@hotmail.com>
+
+       * make.bat: Makes it possible to generate the Info files on
+       windows again.
+
 2000-08-24 Jesper Harder <jesper_harder@hotmail.com>
 
        * make.bat: Use emacs.exe if emacs.bat does not exist.
index cce7352..978cdd6 100644 (file)
--- a/make.bat
+++ b/make.bat
@@ -40,10 +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
 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
+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% -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