Thread: bug in contrib-global.mk

bug in contrib-global.mk

From
Chris Bainbridge
Date:
The rule to build .sql for contrib fails, currently its

ifneq (,$(MODULES)$(MODULE_big))
%.sql: %.sql.in
    sed 's,MODULE_PATHNAME,$$libdir/$*,g' $< >$@
endif


$libdir never gets substituted, it should be

%.sql: %.sql.in
        sed 's,MODULE_PATHNAME,$(libdir)/$*,g' $< >$@

running:

sed            3.02-8
make           3.79.1-11
bash           2.05a-4

Re: bug in contrib-global.mk

From
Peter Eisentraut
Date:
Chris Bainbridge writes:

> The rule to build .sql for contrib fails, currently its
>
> ifneq (,$(MODULES)$(MODULE_big))
> %.sql: %.sql.in
>     sed 's,MODULE_PATHNAME,$$libdir/$*,g' $< >$@
> endif
>
> $libdir never gets substituted,

That is intentional.

--
Peter Eisentraut   peter_e@gmx.net