mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
Fix to build correctly outside source tree.
This commit is contained in:
parent
17d6721e0b
commit
f237a80d8a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user