From d39b310539aca2f2d4bf804528d35120b20b35b6 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Mon, 13 Jan 2003 18:43:38 +0000 Subject: [PATCH] 2003-01-10 Reiner Steib * make.bat: Removed "-no-init-file" (it's the same as "-q"). Use new variables EMACSBATCH and GNUS_INFO_DIR. Install gnus-?, message-?, sieve and pgg (in texi). Added hint for dir entries. * make-x.bat: Ditto. --- ChangeLog | 8 ++++++++ make-x.bat | 28 ++++++++++++++++++++++------ make.bat | 27 +++++++++++++++++++++------ 3 files changed, 51 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8021cea91..54d845328 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2003-01-10 Reiner Steib + + * make.bat: Removed "-no-init-file" (it's the same as "-q"). Use + new variables EMACSBATCH and GNUS_INFO_DIR. Install gnus-?, + message-?, sieve and pgg (in texi). Added hint for dir entries. + + * make-x.bat: Ditto. + 2003-01-13 Simon Josefsson * GNUS-NEWS: Add smileys, Sender:, message-utils. diff --git a/make-x.bat b/make-x.bat index 4f5c4e09c..f741794b9 100644 --- a/make-x.bat +++ b/make-x.bat @@ -10,28 +10,42 @@ set PWD= if "%1" == "" goto usage +rem Directory where the info files are installed +set GNUS_INFO_DIR=%1\..\..\xemacs-packages\info + set emacs=xemacs.exe if "%2" == "" set copy="false" if "%2" == "copy" set copy=true if "%2" == "/copy" set copy=true +set EMACSBATCH=call %1\%emacs% -batch -q -no-site-file + cd lisp -call %1\%emacs% -batch -q -no-site-file -l ./dgnushack.el -f dgnushack-compile +%EMACSBATCH% -l ./dgnushack.el -f dgnushack-compile if not %copy%==true goto info attrib -r %1\..\..\xemacs-packages\lisp\gnus\*.* copy *.el? %1\..\..\xemacs-packages\lisp\gnus :info -set EMACSINFO=call %1\%emacs% -no-site-file -no-init-file -batch -q -l infohack.el -f batch-makeinfo +set EMACSINFO=%EMACSBATCH% -l infohack.el -f batch-makeinfo cd ..\texi %EMACSINFO% message.texi %EMACSINFO% emacs-mime.texi %EMACSINFO% gnus.texi if not %copy%==true goto done -copy gnus %1\..\..\xemacs-packages\info -copy gnus-?? %1\..\..\xemacs-packages\info -copy message %1\..\..\xemacs-packages\info -copy emacs-mime %1\..\..\xemacs-packages\info +copy gnus %GNUS_INFO_DIR% +copy gnus-? %GNUS_INFO_DIR% +copy gnus-?? %GNUS_INFO_DIR% +copy message %GNUS_INFO_DIR% +copy message-? %GNUS_INFO_DIR% +copy emacs-mime %GNUS_INFO_DIR% +copy sieve %GNUS_INFO_DIR% +copy pgg %GNUS_INFO_DIR% +echo Maybe you should add the following line to %GNUS_INFO_DIR%\dir: +echo. +echo * PGG: (pgg). Emacs interface to various PGP implementations. +echo * Sieve: (sieve). Managing Sieve scripts in Emacs. +echo. :etc cd ..\etc @@ -57,4 +71,6 @@ echo set W3DIR=C:\Progra~1\XEmacs\xemacs-packages\lisp\w3 rem Restore PWD so whoever called this batch file doesn't get confused set PWD=%GNUS_PWD_SAVE% set GNUS_PWD_SAVE= +set EMACSBATCH= +set GNUS_INFO_DIR= :end diff --git a/make.bat b/make.bat index c4c8cc454..cbd49dfa3 100644 --- a/make.bat +++ b/make.bat @@ -28,28 +28,41 @@ set PWD= if "%1" == "" goto usage +rem Directory where the info files are installed +set GNUS_INFO_DIR=%1\info + rem Emacs 20.7 no longer includes emacs.bat. Use emacs.exe if the batch file is rem not present -- this also fixes the problem about too many parameters on Win9x. set emacs=emacs.exe if exist %1\bin\emacs.bat set emacs=emacs.bat +set EMACSBATCH=call %1\bin\%emacs% -no-site-file -batch -q cd lisp -call %1\bin\%emacs% -batch -q -no-site-file -l ./dgnushack.el -f dgnushack-compile +%EMACSBATCH% -l ./dgnushack.el -f dgnushack-compile if not "%2" == "/copy" goto info attrib -r %1\lisp\gnus\* copy *.el* %1\lisp\gnus :info -set EMACSINFO=call %1\bin\%emacs% -no-site-file -no-init-file -batch -q -l infohack.el -f batch-makeinfo +set EMACSINFO=%EMACSBATCH% -l infohack.el -f batch-makeinfo cd ..\texi %EMACSINFO% message.texi %EMACSINFO% emacs-mime.texi %EMACSINFO% gnus.texi if not "%2" == "/copy" goto done -copy gnus %1\info -copy gnus-?? %1\info -copy message %1\info -copy emacs-mime %1\info +copy gnus %GNUS_INFO_DIR% +copy gnus-? %GNUS_INFO_DIR% +copy gnus-?? %GNUS_INFO_DIR% +copy message %GNUS_INFO_DIR% +copy message-? %GNUS_INFO_DIR% +copy emacs-mime %GNUS_INFO_DIR% +copy sieve %GNUS_INFO_DIR% +copy pgg %GNUS_INFO_DIR% +echo Maybe you should add the following line to %GNUS_INFO_DIR%\dir: +echo. +echo * PGG: (pgg). Emacs interface to various PGP implementations. +echo * Sieve: (sieve). Managing Sieve scripts in Emacs. +echo. :etc cd ..\etc @@ -74,4 +87,6 @@ echo set W3DIR=d:\lisp\w3-4.0pre46\lisp rem Restore PWD so whoever called this batch file doesn't get confused set PWD=%GNUS_PWD_SAVE% set GNUS_PWD_SAVE= +set EMACSBATCH= +set GNUS_INFO_DIR= :end -- 2.25.1