summaryrefslogtreecommitdiff
path: root/src/bin/Makefile
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-08-07 20:50:22 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-08-07 20:50:22 +0000
commit7798147a7642521055f48e1b27b7024c46c6b446 (patch)
tree4464257703236148eee73a44244b5bc10f6b6f95 /src/bin/Makefile
parente605fbcccdf4705de4afa7e23be5b8222e1cb00d (diff)
downloadpostgresql-7798147a7642521055f48e1b27b7024c46c6b446.tar.gz
Expand test coverage support to entire tree
Test coverage support now covers the entire source tree, including contrib, instead of just src/backend. In a related but independent development, the commands make coverage and make coverage-html can be run in any directory. This turned out to be much easier than feared. Besides a few ad hoc fixes to pass the make target down the tree, change all affected makefiles to list their directories in the SUBDIRS variable, changed from variants like DIRS and WANTED_DIRS. MSVC build fix was attempted as well.
Diffstat (limited to 'src/bin/Makefile')
-rw-r--r--src/bin/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/Makefile b/src/bin/Makefile
index e493252771..1fa4dfd284 100644
--- a/src/bin/Makefile
+++ b/src/bin/Makefile
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/src/bin/Makefile,v 1.54 2009/01/01 17:23:53 momjian Exp $
+# $PostgreSQL: pgsql/src/bin/Makefile,v 1.55 2009/08/07 20:50:22 petere Exp $
#
#-------------------------------------------------------------------------
@@ -13,11 +13,11 @@ subdir = src/bin
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
-DIRS = initdb pg_ctl pg_dump \
+SUBDIRS = initdb pg_ctl pg_dump \
psql scripts pg_config pg_controldata pg_resetxlog
ifeq ($(PORTNAME), win32)
-DIRS+=pgevent
+SUBDIRS+=pgevent
endif
all install installdirs uninstall distprep clean distclean maintainer-clean:
- @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done
+ @for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@ || exit; done