summaryrefslogtreecommitdiff
path: root/contrib/tsearch2/Makefile
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-10-17 23:09:31 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-10-17 23:09:31 +0000
commitd3e36da7894385f243d0e780a8f6d6db5fd38c71 (patch)
tree9e30770f25b669b80da8a2ad7db981be082cec29 /contrib/tsearch2/Makefile
parent4347cc2392a75dec1d5e83f8b60911597fc602d9 (diff)
downloadpostgresql-d3e36da7894385f243d0e780a8f6d6db5fd38c71.tar.gz
Make the standard stopword files be sought relative to share_dir, so
that a tsearch2 installation can be relocatable.
Diffstat (limited to 'contrib/tsearch2/Makefile')
-rw-r--r--contrib/tsearch2/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/tsearch2/Makefile b/contrib/tsearch2/Makefile
index 928266daa5..15983db428 100644
--- a/contrib/tsearch2/Makefile
+++ b/contrib/tsearch2/Makefile
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/contrib/tsearch2/Makefile,v 1.7 2004/08/20 20:13:09 momjian Exp $
+# $PostgreSQL: pgsql/contrib/tsearch2/Makefile,v 1.8 2004/10/17 23:09:31 tgl Exp $
MODULE_big = tsearch2
OBJS = dict_ex.o dict.o snmap.o stopword.o common.o prs_dcfg.o \
@@ -39,8 +39,7 @@ $(SUBDIRS:%=%-recursive):
$(MAKE) -C $(subst -recursive,,$@) SUBSYS.o
tsearch2.sql: tsearch.sql.in
- sed -e 's,MODULE_PATHNAME,$$libdir/$(MODULE_big),g' \
- -e 's,DATA_PATH,$(datadir)/contrib,g' $< >$@
+ sed -e 's,MODULE_PATHNAME,$$libdir/$(MODULE_big),g' $< >$@
untsearch2.sql: untsearch.sql.in
cp $< $@