Skip to content

Commit f237a80

Browse files
committed
Fix to build correctly outside source tree.
1 parent 17d6721 commit f237a80

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

contrib/tsearch2/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ top_builddir = ../..
33
include $(top_builddir)/src/Makefile.global
44

55

6-
override CPPFLAGS := -I. -I./snowball -I./ispell -I./wordparser $(CPPFLAGS)
6+
override CPPFLAGS := -I$(srcdir) -I$(srcdir)/snowball -I$(srcdir)/ispell -I$(srcdir)/wordparser $(CPPFLAGS)
77

88
MODULE_big = tsearch2
99
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
3535
install: installstop
3636

3737
installstop:
38-
cp stopword/*.stop $(datadir)
38+
cp $(srcdir)/stopword/*.stop $(datadir)
3939

4040

4141
tsearch2.sql.in: tsearch.sql._in

contrib/tsearch2/ispell/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ top_builddir = ../../..
33
include $(top_builddir)/src/Makefile.global
44

55

6-
override CPPFLAGS := -I. -I.. $(CPPFLAGS)
6+
override CPPFLAGS := -I$(srcdir) -I$(srcdir)/.. $(CPPFLAGS)
77

88
SUBOBJS = spell.o
99

contrib/tsearch2/snowball/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ top_builddir = ../../..
33
include $(top_builddir)/src/Makefile.global
44

55

6-
override CPPFLAGS := -I. -I.. $(CPPFLAGS)
6+
override CPPFLAGS := -I$(srcdir) -I$(srcdir)/.. $(CPPFLAGS)
77

88
SUBOBJS = english_stem.o api.o russian_stem.o utilities.o
99

contrib/tsearch2/wordparser/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ top_builddir = ../../..
33
include $(top_builddir)/src/Makefile.global
44

55

6-
override CPPFLAGS := -I. -I.. $(CPPFLAGS)
6+
override CPPFLAGS := -I$(srcdir) -I$(srcdir)/.. $(CPPFLAGS)
77

88
SUBOBJS = parser.o deflex.o
99

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy