Gnus development mailing list
 help / color / mirror / Atom feed
* [patch] make-x.bat and directory-structure
@ 2001-10-18 21:55 Frank Schmitt
  2001-10-18 22:54 ` Frank Schmitt
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Frank Schmitt @ 2001-10-18 21:55 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 428 bytes --]

If you installed XEmacs via the setup.exe, (You see I'm talking about M$
Windows.) the gnus lisp-files are installed in
%emacs-working-dir%/../../xemacs-packages/lisp/gnus
but the make-x.bat copies the files to 
%emacs-working-dir%/../lisp/gnus

This directory will not exist and therefor it will fail. The same for
the info and etc files. The following patch fixes this and reduces the
number of arguments for the batch file:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Fix for make-x.bat --]
[-- Type: text/x-patch, Size: 2346 bytes --]

--- make-x.bat	Thu Oct 18 21:40:58 2001
+++ make-x.bat.old	Thu Oct 18 21:31:40 2001
@@ -1,5 +1,6 @@
-@echo off

+rem @echo off

 

+rem Modified once more by Frank Schmitt (ich@Frank-Schmitt.net)

 rem Modified by ShengHuo Zhu (zsh@cs.rochester.edu)

 rem Originally from make.bat by David Charlap (shamino@writeme.com)

 rem

@@ -9,43 +10,41 @@
 set PWD=

 

 if "%1" == "" goto usage

-if "%2" == "" goto usage

 

 set emacs=xemacs.exe

 

 cd lisp

-call %1\%2\%emacs% -batch -q -no-site-file -l ./dgnushack.el -f dgnushack-compile

-if not "%3" == "copy" goto info

-attrib -r %1\lisp\gnus\*

-copy *.el* %1\lisp\gnus

+call %1\%emacs% -batch -nw -q -no-site-file -l ./dgnushack.el -f dgnushack-compile

+if not "%2" == "copy" goto info

+attrib -r %1\..\..\xemacs-packages\lisp\gnus\*.*

+copy *.el* %1\..\..\xemacs-packages\lisp\gnus

 

 :info

-set EMACSINFO=call %1\%2\%emacs% -no-site-file -no-init-file -batch -q -l infohack.el -f batch-makeinfo

+set EMACSINFO=call %1\%emacs% -no-site-file -no-init-file -batch -nw -q -l infohack.el -f batch-makeinfo

 cd ..\texi

 %EMACSINFO% message.texi

 %EMACSINFO% emacs-mime.texi

 %EMACSINFO% gnus.texi

-if not "%3" == "copy" goto done

-copy gnus %1\info

-copy gnus-?? %1\info

-copy message %1\info

-copy emacs-mime %1\info

+if not "%2" == "copy" 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

 

 :etc

 cd ..\etc

-copy gnus-tut.txt %1\etc

+copy gnus-tut.txt %1\..\..\xemacs-packages\etc

 

 :done

 cd ..

 goto end

 

 :usage

-echo Usage: make :xemacs-dir: :xemacs-arch: [copy]

+echo Usage: make :xemacs-dir: [copy]

 echo.

-echo where: :xemacs-dir: is the directory you installed xemacs in

-echo                    eg. C:\Progra~1\XEmacs\XEmacs-21.4.3

-echo        :xemacs-arch: is the xemacs architecture you installed

-echo                    eg. i586-pc-win32

+echo where: :xemacs-dir: is the directory you installed xemacs in 

+echo                     (the directory where xemacs.exe is situated)

+echo                    eg. C:\Programme\XEmacs\XEmacs-21.4.3\i586-pc-win32

 echo        copy indicates that the compiled files should be copied to your

 echo             emacs lisp, info, and etc directories

 echo.


[-- Attachment #3: Type: text/plain, Size: 406 bytes --]

Make-x.bat sounds as if it had something to do with a X-server and long
filenames shouldn't be a problem since many files in the lisp dir have
more than 8+3 characters, so it there's no harm if those two have long
filenames, too.

-- 
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the Land of Mordor where the Shadows lie.
19. Dezember 2001


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-10-19 11:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-18 21:55 [patch] make-x.bat and directory-structure Frank Schmitt
2001-10-18 22:54 ` Frank Schmitt
2001-10-18 23:08 ` Display bug (Was: Re: [patch] make-x.bat and directory-structure) Jesper Harder
2001-10-19  9:13   ` Kai Großjohann
2001-10-19 11:35 ` [patch] make-x.bat and directory-structure Kai Großjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).