2001-09-18 22:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
authorShengHuo ZHU <zsh@cs.rochester.edu>
Wed, 19 Sep 2001 02:56:06 +0000 (02:56 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Wed, 19 Sep 2001 02:56:06 +0000 (02:56 +0000)
* make-x.bat: New.

ChangeLog
make-x.bat [new file with mode: 0644]

index f3f8334..6bc3a50 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-09-18 22:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+       * make-x.bat: New.
+
 2001-07-04  Yair Friedman  <yairfr@Amdocs.com>
 
        * make.bat: Use infohack.el to create info files.
diff --git a/make-x.bat b/make-x.bat
new file mode 100644 (file)
index 0000000..b2f2f97
--- /dev/null
@@ -0,0 +1,59 @@
+@echo off\r
+\r
+rem Modified by ShengHuo Zhu (zsh@cs.rochester.edu)\r
+rem Originally from make.bat by David Charlap (shamino@writeme.com)\r
+rem\r
+\r
+rem Clear PWD so emacs doesn't get confused\r
+set GNUS_PWD_SAVE=%PWD%\r
+set PWD=\r
+\r
+if "%1" == "" goto usage\r
+if "%2" == "" goto usage\r
+\r
+set emacs=xemacs.exe\r
+\r
+cd lisp\r
+call %1\%2\%emacs% -batch -q -no-site-file -l ./dgnushack.el -f dgnushack-compile\r
+if not "%3" == "copy" goto info\r
+attrib -r %1\lisp\gnus\*\r
+copy *.el* %1\lisp\gnus\r
+\r
+:info\r
+set EMACSINFO=call %1\%2\%emacs% -no-site-file -no-init-file -batch -q -l infohack.el -f batch-makeinfo\r
+cd ..\texi\r
+%EMACSINFO% message.texi\r
+%EMACSINFO% emacs-mime.texi\r
+%EMACSINFO% gnus.texi\r
+if not "%3" == "copy" goto done\r
+copy gnus %1\info\r
+copy gnus-?? %1\info\r
+copy message %1\info\r
+copy emacs-mime %1\info\r
+\r
+:etc\r
+cd ..\etc\r
+copy gnus-tut.txt %1\etc\r
+\r
+:done\r
+cd ..\r
+goto end\r
+\r
+:usage\r
+echo Usage: make :xemacs-dir: :xemacs-arch: [copy]\r
+echo.\r
+echo where: :xemacs-dir: is the directory you installed xemacs in\r
+echo                    eg. C:\Progra~1\XEmacs\XEmacs-21.4.3\r
+echo        :xemacs-arch: is the xemacs architecture you installed\r
+echo                    eg. i586-pc-win32\r
+echo        copy indicates that the compiled files should be copied to your\r
+echo             emacs lisp, info, and etc directories\r
+echo.\r
+echo Note: If you have Emacs/w3 you should set the environment variable \r
+echo       W3DIR to the directory where w3 is installed eg.\r
+echo                 set W3DIR=C:\Progra~1\XEmacs\xemacs-packages\lisp\w3\r
+\r
+rem Restore PWD so whoever called this batch file doesn't get confused\r
+set PWD=%GNUS_PWD_SAVE%\r
+set GNUS_PWD_SAVE=\r
+:end\r