diff options
author | Noah Misch <noah@leadboat.com> | 2017-11-30 00:57:22 -0800 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2017-11-30 00:57:31 -0800 |
commit | d0408c90f423b4a1acfac63ae0f91df83d8cf21a (patch) | |
tree | f555f445f1b925f26f6c1bd7b93c57d6ba17a5b5 | |
parent | 39f180fdd1e68bf6a897c6ab8733014e74f56973 (diff) | |
download | postgresql-d0408c90f423b4a1acfac63ae0f91df83d8cf21a.tar.gz postgresql-d0408c90f423b4a1acfac63ae0f91df83d8cf21a.zip |
Fix non-GNU makefiles for AIX make.
Invoking the Makefile without an explicit target was building every
possible target instead of just the "all" target. Back-patch to 9.3
(all supported versions).
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | src/test/regress/Makefile | 5 |
2 files changed, 9 insertions, 0 deletions
@@ -11,6 +11,10 @@ # GNUmakefile won't exist yet, so we catch that case as well. +# AIX make defaults to building *every* target of the first rule. Start with +# a single-target, empty rule to make the other targets non-default. +all: + all check install installdirs installcheck installcheck-parallel uninstall clean distclean maintainer-clean dist distcheck world check-world install-world installcheck-world: @if [ ! -f GNUmakefile ] ; then \ echo "You need to run the 'configure' program first. See the file"; \ diff --git a/src/test/regress/Makefile b/src/test/regress/Makefile index 6409a485e84..7c665ff892d 100644 --- a/src/test/regress/Makefile +++ b/src/test/regress/Makefile @@ -7,6 +7,11 @@ # GNU make uses a make file named "GNUmakefile" in preference to "Makefile" # if it exists. Postgres is shipped with a "GNUmakefile". + +# AIX make defaults to building *every* target of the first rule. Start with +# a single-target, empty rule to make the other targets non-default. +all: + all install clean check installcheck: @echo "You must use GNU make to use Postgres. It may be installed" @echo "on your system with the name 'gmake'." |