Hi,
I tried posted this message a few days ago, but didn't see any
responses. However, that doesn't mean no one answered, since I was
having some problems with my mail server. So if someone answered my
question before, thank you and I'm sorry for the trouble, but could
you re-send me the answer? And if this didn't even get to the list
before, well here it is now.
---
I'm trying to use automake/autoconf (automake 1.4, autoconf 2.13) to
distribute an Emacs Lisp package, but I'm having some problems. First
of all, the package contains several files, some of which `require'
each other at top level, so they have to be visible to each other at
compile time.
The script `elisp-comp' that automake uses to compile .el files claims
to manage "in such a way that all Emacs LISP files to be compiled are
made visible between themselves, in the event they require or
load-library one another." It does this by making a temporary
directory and copying all its arguments there before compiling them.
However, this only works if all the files are passed on the command
line at once. The Makefile.in generated by automake calls elisp-comp
on each elisp file individually, thus preventing them from being able
to load each other at compile time. Am I missing a flag somewhere?
My Makefile.am contains:
lisp_LISP = file1.el file2.el ...
Is this the right way to do it?
In addition, I find that elisp files are not counted as "source" and
thus not included by `make dist'. Is there a way to tell automake
that lisp files should be considered source code, rather than just
setting EXTRA_DIST or something like that?
Thanks in advance.
\\// | R | T R | L B | /\ mailto:[EMAIL PROTECTED]
\/ (Michael Shulman) //\\ http://kurukshetra.cjb.net/
The truth of the matter is that you always know the right thing to do.
The hard part is doing it.
-- Gen. H. Norman Schwarzkopf