Hi all,

In 7.2.1, MasterInit script (rserv command) does not work correctly,
because $libdir is not defined in it.

I think $libdir should be replaced in Makefile as below.

Is it correct?

--- Makefile    Mon Mar 11 13:39:14 2002
+++ /tmp/Makefile       Tue Aug 13 18:19:21 2002
@@ -22,10 +22,10 @@
 all: $(SQLS) $(TCLS) $(PERLS) $(SCRIPTS) $(SONAME)
 
 %.sql: %.sql.in
-       sed 's,@MODULE_FILENAME@,$$libdir/$(NAME),g' $< >$@
+       sed 's,@MODULE_FILENAME@,$(libdir)/$(NAME),g' $< >$@
 
 $(PERLS) $(TCLS) $(SCRIPTS): %: %.in
-       sed -e 's,@MODULE_FILENAME@,$$libdir/$(NAME),g' \
+       sed -e 's,@MODULE_FILENAME@,$(libdir)/$(NAME),g' \
            -e 's:@SQLDIR@:$(datadir)/contrib:g' \
            -e 's:@BINDIR@:$(bindir):g' \
            -e 's:@LIBDIR@:$(datadir)/contrib:g' $< >$@

-- 
NAGAYASU Satoshi <snaga@snaga.org>

Tue, 13 Aug 2002 18:28:03 +0900
Satoshi Nagayasu <snaga@snaga.org>
Is contrib/rserv/Makefile broken?
Satoshi Nagayasu writes:

> I think $libdir should be replaced in Makefile as below.

No, it's correct as is.  Read the documentation.

-- 
Peter Eisentraut   peter_e@gmx.net


Tue, 13 Aug 2002 21:52:57 +0200 (CEST)
Peter Eisentraut <peter_e@gmx.net>
Re: Is contrib/rserv/Makefile broken?