summaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorPeter Eisentraut2008-03-18 16:24:50 +0000
committerPeter Eisentraut2008-03-18 16:24:50 +0000
commit8c87cc370f427515b4aa9b03e64a8878de4b6a22 (patch)
tree1e9278f101716ad5b081752ebab8d09cb24db3b1 /src/interfaces
parent184c42d20d980cd441139a164259f67a9c088264 (diff)
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/interfaces')
-rw-r--r--src/interfaces/Makefile12
-rw-r--r--src/interfaces/ecpg/Makefile12
2 files changed, 8 insertions, 16 deletions
diff --git a/src/interfaces/Makefile b/src/interfaces/Makefile
index db0e4ff6716..dd57c18c3ed 100644
--- a/src/interfaces/Makefile
+++ b/src/interfaces/Makefile
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/src/interfaces/Makefile,v 1.55 2007/02/09 15:55:59 petere Exp $
+# $PostgreSQL: pgsql/src/interfaces/Makefile,v 1.56 2008/03/18 16:24:50 petere Exp $
#
#-------------------------------------------------------------------------
@@ -14,13 +14,5 @@ include $(top_builddir)/src/Makefile.global
DIRS = libpq ecpg
-ALLDIRS = $(DIRS)
-
-all install installdirs uninstall distprep:
+all install installdirs uninstall distprep clean distclean maintainer-clean:
@for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done
-
-clean:
- @for dir in $(DIRS); do $(MAKE) -C $$dir $@; done
-
-distclean maintainer-clean:
- @for dir in $(ALLDIRS); do $(MAKE) -C $$dir $@; done
diff --git a/src/interfaces/ecpg/Makefile b/src/interfaces/ecpg/Makefile
index c83144d8959..71bfff672d7 100644
--- a/src/interfaces/ecpg/Makefile
+++ b/src/interfaces/ecpg/Makefile
@@ -10,12 +10,12 @@ all install installdirs uninstall distprep:
$(MAKE) -C preproc $@
clean distclean maintainer-clean:
- -$(MAKE) -C include $@
- -$(MAKE) -C pgtypeslib $@
- -$(MAKE) -C ecpglib $@
- -$(MAKE) -C compatlib $@
- -$(MAKE) -C preproc $@
- -$(MAKE) -C test clean
+ $(MAKE) -C include $@
+ $(MAKE) -C pgtypeslib $@
+ $(MAKE) -C ecpglib $@
+ $(MAKE) -C compatlib $@
+ $(MAKE) -C preproc $@
+ $(MAKE) -C test clean
check checktcp installcheck: all
$(MAKE) -C test $@