diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2008-03-18 16:24:50 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2008-03-18 16:24:50 +0000 |
commit | 8c87cc370f427515b4aa9b03e64a8878de4b6a22 (patch) | |
tree | 1e9278f101716ad5b081752ebab8d09cb24db3b1 /GNUmakefile.in | |
parent | 184c42d20d980cd441139a164259f67a9c088264 (diff) | |
download | postgresql-8c87cc370f427515b4aa9b03e64a8878de4b6a22.tar.gz postgresql-8c87cc370f427515b4aa9b03e64a8878de4b6a22.zip |
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 'GNUmakefile.in')
-rw-r--r-- | GNUmakefile.in | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/GNUmakefile.in b/GNUmakefile.in index f7bcc6729ca..c71f8a60883 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -1,7 +1,7 @@ # # PostgreSQL top level makefile # -# $PostgreSQL: pgsql/GNUmakefile.in,v 1.46 2007/02/09 15:55:57 petere Exp $ +# $PostgreSQL: pgsql/GNUmakefile.in,v 1.47 2008/03/18 16:24:50 petere Exp $ # subdir = @@ -44,11 +44,11 @@ clean: # Important: distclean `src' last, otherwise Makefile.global # will be gone too soon. distclean maintainer-clean: - -$(MAKE) -C doc $@ - -$(MAKE) -C contrib $@ - -$(MAKE) -C config $@ - -$(MAKE) -C src $@ - -rm -f config.cache config.log config.status GNUmakefile + $(MAKE) -C doc $@ + $(MAKE) -C contrib $@ + $(MAKE) -C config $@ + $(MAKE) -C src $@ + rm -f config.cache config.log config.status GNUmakefile # Garbage from autoconf: @rm -rf autom4te.cache/ @@ -72,7 +72,7 @@ ifeq ($(split-dist), yes) dist: postgresql-base-$(VERSION).tar.gz postgresql-docs-$(VERSION).tar.gz postgresql-opt-$(VERSION).tar.gz postgresql-test-$(VERSION).tar.gz endif dist: - -rm -rf $(distdir) + rm -rf $(distdir) $(distdir).tar: distdir $(TAR) chf $@ $(distdir) @@ -97,7 +97,7 @@ postgresql-test-$(VERSION).tar: distdir $(TAR) cf $@ $(distdir)/src/test distdir: - -rm -rf $(distdir)* $(dummy) + rm -rf $(distdir)* $(dummy) for x in `cd $(top_srcdir) && find . -name CVS -prune -o -print`; do \ file=`expr X$$x : 'X\./\(.*\)'`; \ if test -d "$(top_srcdir)/$$file" ; then \ @@ -116,7 +116,7 @@ distdir: rm -f $(distdir)/README.CVS distcheck: $(distdir).tar.gz - -rm -rf $(dummy) + rm -rf $(dummy) mkdir $(dummy) $(GZIP) -d -c $< | $(TAR) xf - install_prefix=`cd $(dummy) && pwd`; \ @@ -131,7 +131,7 @@ distcheck: $(distdir).tar.gz $(MAKE) -C $(distdir) dist # Room for improvement: Check here whether this distribution tarball # is sufficiently similar to the original one. - -rm -rf $(distdir) $(dummy) + rm -rf $(distdir) $(dummy) @echo "Distribution integrity checks out." .PHONY: dist distdir distcheck |