aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2017-11-30 00:57:22 -0800
committerNoah Misch <noah@leadboat.com>2017-11-30 00:57:31 -0800
commitf8252b6418262884dc504c93597a54cf2c334802 (patch)
tree2fa3c97b9cc3f87cb702fde7644d6791be91cd35 /src
parentcce3d72a8a42be2db18aaabbf100f8e0f540206c (diff)
downloadpostgresql-f8252b6418262884dc504c93597a54cf2c334802.tar.gz
postgresql-f8252b6418262884dc504c93597a54cf2c334802.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).
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/Makefile5
1 files changed, 5 insertions, 0 deletions
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'."