This file in packages provides the XEmacs Packaging System with information about the local configuration and environment. To create Local.rules, simply copy Local.rules.template from that directory to Local.rules and edit it to suit your needs.
These are the variables in Local.rules that you may need to provide values for:
xemacs.
If you are developing XEmacs, you probably don't want to install the packages under /usr/local, which is where the stable, released version of XEmacs goes. Instead, we suggest a layout as described in the base README file of recent versions of XEmacs. In a nutshell, we suggest you put your source under /src/xemacs, and under this put the package sources in package-src/, and the installed packages in xemacs-packages/ and mule-packages/. If you do everything this way, you might want to set things as follows:XEMACS_INSTALLED_PACKAGES_ROOT = ${XEMACS_PACKAGES_BASE}/..
which puts the xemacs-packages/ and mule-packages/ directories as sisters of the package-src/ directory, and you have to tell configure the location of the installed packages using `–package-path', something like
configure –package-path=/src/xemacs/xemacs-packages;/src/xemacs/mule-packages
make install will create a symlink farm of the installed
packages under XEMACS_INSTALLED_PACKAGES_ROOT. Obviously, for
this to work, your system has to support symbolic links. This is as
close as you can get to running in place for the packages.
NONMULE_PACKAGES = bbdb gnus xemacs-base prog-modes
The value for this variable can also be the symbol
‘xemacs-packages’, which means to build/install all of the
non-Mule packages. The default is ‘xemacs-packages’.
MULE_PACKAGES = mule-base leim locale
The value for this variable can also be the symbol
‘mule-packages’, which means to build/install all of the
Mule packages. The default is ‘mule-packages’.
install -c.
tar.
--exclude option. The
default is:
EXCLUDES = \
--exclude 'CVS' \
--exclude 'RCS' \
--exclude 'SCCS' \
--exclude '*~' \
--exclude '*.orig' \
--exclude '*.rej' \
--exclude '.\#*'
BATCH = $(VANILLA) -batch -eval \
'(setq stack-trace-on-error t \
load-always-display-messages t \
load-ignore-out-of-date-elc-files t \
load-show-full-path-in-messages t)'
makeinfo. The default is ‘makeinfo’
texi2html.
texi2dvi
dvips
texi2pdf.
tex
msgfmt
If symlink is unset (blank), RCOPY's default is
cp -af. If symlink is set (‘t’), RCOPY's
default is cp --force --recursive --symbolic-link.
It should be noted that in most cases the defaults should be fine. Most people will probably only need to alter: