summaryrefslogtreecommitdiff
path: root/src/pl
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2008-03-18 16:24:50 +0000
committerPeter Eisentraut <peter_e@gmx.net>2008-03-18 16:24:50 +0000
commit8c87cc370f427515b4aa9b03e64a8878de4b6a22 (patch)
tree1e9278f101716ad5b081752ebab8d09cb24db3b1 /src/pl
parent184c42d20d980cd441139a164259f67a9c088264 (diff)
downloadpostgresql-8c87cc370f427515b4aa9b03e64a8878de4b6a22.tar.gz
Catch all errors in for and while loops in makefiles. Don't ignore any
errors in any commands, including in various clean targets that have so far been handled inconsistently. make -i is available to ignore all errors in a consistent and official way.
Diffstat (limited to 'src/pl')
-rw-r--r--src/pl/Makefile9
-rw-r--r--src/pl/plpgsql/Makefile7
2 files changed, 5 insertions, 11 deletions
diff --git a/src/pl/Makefile b/src/pl/Makefile
index 4a0f365472..fa06459a9b 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.26 2007/06/01 19:38:07 tgl Exp $
+# $PostgreSQL: pgsql/src/pl/Makefile,v 1.27 2008/03/18 16:24:50 petere Exp $
#
#-------------------------------------------------------------------------
@@ -26,11 +26,8 @@ ifeq ($(with_tcl), yes)
DIRS += tcl
endif
-all install installdirs uninstall distprep:
- @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit 1; done
-
-clean distclean maintainer-clean:
- @for dir in $(DIRS); do $(MAKE) -C $$dir $@; done
+all install installdirs uninstall distprep clean distclean maintainer-clean:
+ @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done
# We'd like check operations to run all the subtests before failing.
check installcheck:
diff --git a/src/pl/plpgsql/Makefile b/src/pl/plpgsql/Makefile
index 118636cae3..2f1298c258 100644
--- a/src/pl/plpgsql/Makefile
+++ b/src/pl/plpgsql/Makefile
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/src/pl/plpgsql/Makefile,v 1.8 2003/11/29 19:52:12 pgsql Exp $
+# $PostgreSQL: pgsql/src/pl/plpgsql/Makefile,v 1.9 2008/03/18 16:24:50 petere Exp $
#
#-------------------------------------------------------------------------
@@ -12,8 +12,5 @@ subdir = src/pl/plpgsql
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
-all install installdirs uninstall distprep:
+all install installdirs uninstall distprep clean distclean maintainer-clean:
$(MAKE) -C src $@
-
-clean distclean maintainer-clean:
- -$(MAKE) -C src $@