aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/unaccent/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/contrib/unaccent/Makefile b/contrib/unaccent/Makefile
index 91b04fc2753..401f5232831 100644
--- a/contrib/unaccent/Makefile
+++ b/contrib/unaccent/Makefile
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/contrib/unaccent/Makefile,v 1.1 2009/08/18 10:34:39 teodor Exp $
+# $PostgreSQL: pgsql/contrib/unaccent/Makefile,v 1.2 2009/08/18 15:51:16 tgl Exp $
MODULE_big = unaccent
OBJS = unaccent.o
@@ -8,17 +8,16 @@ DATA = uninstall_unaccent.sql
DATA_TSEARCH = unaccent.rules
REGRESS = unaccent
+# Adjust REGRESS_OPTS because we need a UTF8 database
+REGRESS_OPTS = --dbname=$(CONTRIB_TESTDB) --multibyte=UTF8 --no-locale
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
-subdir = contrib/pg_trgm
+subdir = contrib/unaccent
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
-
-#redefine REGRESS_OPTS because of needings of UTF8 database
-REGRESS_OPTS = --dbname=$(CONTRIB_TESTDB) --multibyte=UTF8 --no-locale