* gnus-sum.el (gnus-highlight-selected-summary)
[gnus] / make-x.bat
1 @echo off\r
2 \r
3 rem Modified once more by Frank Schmitt (ich@Frank-Schmitt.net)\r
4 rem Modified by ShengHuo Zhu (zsh@cs.rochester.edu)\r
5 rem Originally from make.bat by David Charlap (shamino@writeme.com)\r
6 \r
7 rem Clear PWD so emacs doesn't get confused\r
8 set GNUS_PWD_SAVE=%PWD%\r
9 set PWD=\r
10 \r
11 if "%1" == "" goto usage\r
12 \r
13 rem Directory where the info files are installed\r
14 set GNUS_INFO_DIR=%1\..\..\xemacs-packages\info\r
15 \r
16 set emacs=xemacs.exe\r
17 if "%2" == "" set copy="false"\r
18 if "%2" == "copy" set copy=true\r
19 if "%2" == "/copy" set copy=true\r
20 \r
21 set EMACSBATCH=call %1\%emacs% -batch -q -no-site-file\r
22 \r
23 cd lisp\r
24 %EMACSBATCH% -l ./dgnushack.el -f dgnushack-compile\r
25 if not %copy%==true goto info\r
26 attrib -r %1\..\..\xemacs-packages\lisp\gnus\*.*\r
27 copy *.el? %1\..\..\xemacs-packages\lisp\gnus\r
28 \r
29 :info\r
30 set EMACSINFO=%EMACSBATCH% -l infohack.el -f batch-makeinfo\r
31 cd ..\texi\r
32 %EMACSINFO% message.texi\r
33 %EMACSINFO% emacs-mime.texi\r
34 %EMACSINFO% gnus.texi\r
35 if not %copy%==true goto done\r
36 copy gnus       %GNUS_INFO_DIR%\r
37 copy gnus-?     %GNUS_INFO_DIR%\r
38 copy gnus-??    %GNUS_INFO_DIR%\r
39 copy message    %GNUS_INFO_DIR%\r
40 copy message-?  %GNUS_INFO_DIR%\r
41 copy emacs-mime %GNUS_INFO_DIR%\r
42 copy sieve      %GNUS_INFO_DIR%\r
43 copy pgg        %GNUS_INFO_DIR%\r
44 echo Maybe you should add the following line to %GNUS_INFO_DIR%\dir:\r
45 echo.\r
46 echo * PGG: (pgg).              Emacs interface to various PGP implementations.\r
47 echo * Sieve: (sieve).  Managing Sieve scripts in Emacs.\r
48 echo.\r
49 \r
50 :etc\r
51 cd ..\etc\r
52 copy gnus-tut.txt %1\..\..\xemacs-packages\etc\r
53 \r
54 :done\r
55 cd ..\r
56 goto end\r
57 \r
58 :usage\r
59 echo Usage: make-x.bat :xemacs-dir: [/copy]\r
60 echo.\r
61 echo where: :xemacs-dir: is the directory you installed xemacs in \r
62 echo                     (the directory where xemacs.exe is situated)\r
63 echo                    eg. C:\Programme\XEmacs\XEmacs-21.4.3\i586-pc-win32\r
64 echo        /copy indicates that the compiled files should be copied to your\r
65 echo             emacs lisp, info, and etc directories\r
66 echo.\r
67 echo Note: If you have Emacs/w3 you should set the environment variable \r
68 echo       W3DIR to the directory where w3 is installed eg.\r
69 echo                 set W3DIR=C:\Progra~1\XEmacs\xemacs-packages\lisp\w3\r
70 \r
71 rem Restore PWD so whoever called this batch file doesn't get confused\r
72 set PWD=%GNUS_PWD_SAVE%\r
73 set GNUS_PWD_SAVE=\r
74 set EMACSBATCH=\r
75 set GNUS_INFO_DIR=\r
76 :end\r