Robert Pluim <rpluim(a)bigfoot.com>, on Wed, 11 Jun 2003 at 01:05:58 +0200
you wrote:
Didn't we have this discussion when I originally submitted the
patch
to Makefile.common? Anyway:
I'm sure we did. But that was back in, what, January or February,
wasn't it? The details escaped me.
ELLMAKEDOC=../../lib-src/make-docfile ../../lib-src/ellcc
--mode=init --mod-output=postgresql_i.c --mod-name=postgresql --mod-version=1.0.0
--mod-title="PostgreSQL Client Interface for XEmacs" $(srcdir)/postgresql.c
srcdir: not found
/postgresql.c: No such file or directory
Okay, so it looks like the problem is that it doesn't expand the srcdir
variable after computing the pattern. We're already getting the value
of srcdir from configure anyway, so why don't we just do this?
SRC_SRCS=$(SRCS:%=@srcdir@/%)
Robert, does that work with your make? I'll make sure that it works
with Solaris and GNU make, but I don't see any reason why it wouldn't.
(In fact, with the current modules, this renders the srcdir make
variable superfluous.)
--
Jerry James
http://www.ittc.ku.edu/~james/