提交 f237a80d 编写于 作者: T Tom Lane

Fix to build correctly outside source tree.

上级 17d6721e
......@@ -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
......
......@@ -3,7 +3,7 @@ top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
override CPPFLAGS := -I. -I.. $(CPPFLAGS)
override CPPFLAGS := -I$(srcdir) -I$(srcdir)/.. $(CPPFLAGS)
SUBOBJS = spell.o
......
......@@ -3,7 +3,7 @@ top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
override CPPFLAGS := -I. -I.. $(CPPFLAGS)
override CPPFLAGS := -I$(srcdir) -I$(srcdir)/.. $(CPPFLAGS)
SUBOBJS = english_stem.o api.o russian_stem.o utilities.o
......
......@@ -3,7 +3,7 @@ top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
override CPPFLAGS := -I. -I.. $(CPPFLAGS)
override CPPFLAGS := -I$(srcdir) -I$(srcdir)/.. $(CPPFLAGS)
SUBOBJS = parser.o deflex.o
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册