From: Frank Schmitt <usereplyto@Frank-Schmitt.net>
Subject: [patch] make-x.bat and directory-structure
Date: Thu, 18 Oct 2001 23:55:37 +0200 [thread overview]
Message-ID: <zo6o1uli.fsf@hschmi22.userfqdn.rz-online.de> (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
next reply other threads:[~2001-10-18 21:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-18 21:55 Frank Schmitt [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=zo6o1uli.fsf@hschmi22.userfqdn.rz-online.de \
--to=usereplyto@frank-schmitt.net \
--cc=usenet@Frank-Schmitt.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).