summaryrefslogtreecommitdiff
path: root/contrib/tsearch2/Makefile
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-08-04 19:52:37 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-08-04 19:52:37 +0000
commitf237a80d8ae7bcde1089583dfcb74e2447e3c0a2 (patch)
treee598736009a6839e2ea7566f37058aad3d64479e /contrib/tsearch2/Makefile
parent17d6721e0b5787d3145d43bf2bb71c4ddd831680 (diff)
downloadpostgresql-f237a80d8ae7bcde1089583dfcb74e2447e3c0a2.tar.gz
Fix to build correctly outside source tree.
Diffstat (limited to 'contrib/tsearch2/Makefile')
-rw-r--r--contrib/tsearch2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tsearch2/Makefile b/contrib/tsearch2/Makefile
index 7dd1e1b081..6df6bcf3ba 100644
--- a/contrib/tsearch2/Makefile
+++ b/contrib/tsearch2/Makefile
@@ -3,7 +3,7 @@ top_builddir = ../..
include $(top_builddir)/src/Makefile.global
-override CPPFLAGS := -I. -I./snowball -I./ispell -I./wordparser $(CPPFLAGS)
+override CPPFLAGS := -I$(srcdir) -I$(srcdir)/snowball -I$(srcdir)/ispell -I$(srcdir)/wordparser $(CPPFLAGS)
MODULE_big = tsearch2
OBJS = dict_ex.o dict.o snmap.o stopword.o common.o prs_dcfg.o \
@@ -35,7 +35,7 @@ include $(top_srcdir)/contrib/contrib-global.mk
install: installstop
installstop:
- cp stopword/*.stop $(datadir)
+ cp $(srcdir)/stopword/*.stop $(datadir)
tsearch2.sql.in: tsearch.sql._in