>>>> "SY" == Steve Youngs
<youngs(a)xemacs.org> writes:
SY> I've just submitted a patch to XEmacs.rules that will fix this.
SY> It'll be in CVS shortly.
I have problems with the patch. After a make distclean, make doesn't
make it ;-)
I get this:
[...]
xemacs -no-autoloads -batch -l /usr/local/src/packages/package-compile.el -- cc-mode
xemacs-base -- -f batch-byte-compile auto-autoloads.el
Loading /usr/local/lib/xemacs-21.5-b5/lisp/auto-autoloads... (file auto-autoloads.el is
newer)
Loading /usr/local/src/packages/xemacs-packages/xemacs-base/auto-autoloads...
Loading /usr/local/src/packages/xemacs-packages/cc-mode/auto-autoloads...
Compiling /usr/local/src/packages/xemacs-packages/Sun/auto-autoloads.el...
>Error occurred processing auto-autoloads.el: Opening input file:
No such file or directory, /usr/local/src/packages/xemacs-packages/Sun/auto-autoloads.el
I really don't know what this has to do with the auto-loads-rules
except that if I substitute '$(ELCS:.elc=.el)' with '$^', as in my
patch, (which only means, that the _pkg.el file also is included in
the autoloads generation), the problem doesn't occur.
But then I looked at it again and saw that for the Sun-package there
are no autoloads found except in the _pkg.el-file and thus the
auto-autoloads.el isn't generated unless the _pkg.el file is
included. Which explains why my '$^' patch works.
Voila! I guess that if I knew the purpose of the _pkg.el-file it would
be easier to know what is the desired behavior. ;-)
Yours
--
%% Mats