if "%1" == "" goto usage\r
\r
set emacs=xemacs.exe\r
+if "%2" == "" set copy="false"\r
+if "%2" == "copy" set copy=true\r
+if "%2" == "/copy" set copy=true\r
\r
cd lisp\r
call %1\%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
+if not %copy%==true goto info\r
attrib -r %1\..\..\xemacs-packages\lisp\gnus\*.*\r
-copy *.el* %1\..\..\xemacs-packages\lisp\gnus\r
+copy *.el? %1\..\..\xemacs-packages\lisp\gnus\r
\r
:info\r
set EMACSINFO=call %1\%emacs% -no-site-file -no-init-file -batch -q -l infohack.el -f batch-makeinfo\r
%EMACSINFO% message.texi\r
%EMACSINFO% emacs-mime.texi\r
%EMACSINFO% gnus.texi\r
-if not "%2" == "copy" goto done\r
-if not "%2" == "/copy" goto done\r
+if not %copy%==true goto done\r
copy gnus %1\..\..\xemacs-packages\info\r
copy gnus-?? %1\..\..\xemacs-packages\info\r
copy message %1\..\..\xemacs-packages\info\r