summaryrefslogtreecommitdiff
path: root/src/makefiles
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-07-08 13:47:29 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-07-08 13:47:29 +0000
commitdf2066711235e3c53c8bb17efd2a1873e0a27402 (patch)
treeadf843999ae62d391d9ac476dd8a4d65df2641ca /src/makefiles
parente01d732db3695d21123fd94c230a55d45bf27c95 (diff)
downloadpostgresql-df2066711235e3c53c8bb17efd2a1873e0a27402.tar.gz
When calling unsupported "make check" with a pgxs module, return a nonzero
exit code.
Diffstat (limited to 'src/makefiles')
-rw-r--r--src/makefiles/pgxs.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/makefiles/pgxs.mk b/src/makefiles/pgxs.mk
index bdc92a8668..2f3b61cfe5 100644
--- a/src/makefiles/pgxs.mk
+++ b/src/makefiles/pgxs.mk
@@ -1,6 +1,6 @@
# PGXS: PostgreSQL extensions makefile
-# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.15 2008/10/03 08:00:16 petere Exp $
+# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.16 2009/07/08 13:47:29 petere Exp $
# This file contains generic rules to build many kinds of simple
# extension modules. You only need to set a few variables and include
@@ -266,6 +266,7 @@ installcheck: submake
check:
@echo "'make check' is not supported."
@echo "Do 'make install', then 'make installcheck' instead."
+ @exit 1
endif # REGRESS