summaryrefslogtreecommitdiff
path: root/src/pl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/pl/Makefile')
-rw-r--r--src/pl/Makefile22
1 files changed, 16 insertions, 6 deletions
diff --git a/src/pl/Makefile b/src/pl/Makefile
index 18cfeffc320..17a69c6a2a8 100644
--- a/src/pl/Makefile
+++ b/src/pl/Makefile
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/src/pl/Makefile,v 1.22 2003/11/29 19:52:12 pgsql Exp $
+# $PostgreSQL: pgsql/src/pl/Makefile,v 1.23 2005/05/14 17:55:20 tgl Exp $
#
#-------------------------------------------------------------------------
@@ -14,10 +14,6 @@ include $(top_builddir)/src/Makefile.global
DIRS := plpgsql
-ifeq ($(with_tcl), yes)
-DIRS += tcl
-endif
-
ifeq ($(with_perl), yes)
DIRS += plperl
endif
@@ -26,8 +22,22 @@ ifeq ($(with_python), yes)
DIRS += plpython
endif
+ifeq ($(with_tcl), yes)
+DIRS += tcl
+endif
+
all install installdirs uninstall depend distprep:
- @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done
+ @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit 1; done
clean distclean maintainer-clean:
@for dir in $(DIRS); do $(MAKE) -C $$dir $@; done
+
+# We'd like check operations to run all the subtests before failing;
+# also insert a sleep to ensure the previous test backend exited before
+# we try to drop the regression database.
+check installcheck:
+ @CHECKERR=0; for dir in $(DIRS); do \
+ sleep 1; \
+ $(MAKE) -C $$dir $@ || CHECKERR=$$?; \
+ done; \
+ exit $$CHECKERR