diff options
| author | Marc G. Fournier <scrappy@hub.org> | 1998-04-22 04:16:46 +0000 |
|---|---|---|
| committer | Marc G. Fournier <scrappy@hub.org> | 1998-04-22 04:16:46 +0000 |
| commit | 5b4b3d563d0db16a00909a64090efa877593cffd (patch) | |
| tree | 4bef5f89584c3ed96c1fcb47380a89db65154833 /contrib/array/Makefile | |
| parent | 2201d48ccdf79314c3123febf11f5a5d39b7a0b4 (diff) | |
| download | postgresql-5b4b3d563d0db16a00909a64090efa877593cffd.tar.gz | |
From: Jun Kuwamura <juk@rccm.co.jp>
This patch fix the Makefiles in contrib/{pginterface, spi,
miscutil, int8, ip_and_mac, sequence, soundex, string, userlock,
array, datetime} to install their modules in one directory(lib/modules/).
Diffstat (limited to 'contrib/array/Makefile')
| -rw-r--r-- | contrib/array/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/array/Makefile b/contrib/array/Makefile index 03c57e57c6..dd2ff66091 100644 --- a/contrib/array/Makefile +++ b/contrib/array/Makefile @@ -40,16 +40,16 @@ module: $(MODULE) sql: $(MODNAME).sql install: $(MODULE) - cp -p $(MODULE) $(LIBDIR) - cd $(LIBDIR); strip $(MODULE) + cp -p $(MODULE) $(LIBDIR)/modules + cd $(LIBDIR)/modules; strip $(MODULE) %.sql: %.sql.in - sed "s|MODULE_PATHNAME|$(LIBDIR)/$(MODULE)|" < $< > $@ + sed "s|MODULE_PATHNAME|$(LIBDIR)/modules/$(MODULE)|" < $< > $@ .SUFFIXES: $(DLSUFFIX) %$(DLSUFFIX): %.c - cc $(CFLAGS) -shared -o $@ $< + $(CC) $(CFLAGS) -shared -o $@ $< depend dep: $(CC) -MM $(INCLUDE_OPT) *.c >depend |
