Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite21a556

Browse files
committed
Fix non-GNU makefiles for AIX make.
Invoking the Makefile without an explicit target was building everypossible target instead of just the "all" target. Back-patch to 9.3(all supported versions).
1 parent7ca25b7 commite21a556

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

‎Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
# GNUmakefile won't exist yet, so we catch that case as well.
1212

1313

14+
# AIX make defaults to building *every* target of the first rule. Start with
15+
# a single-target, empty rule to make the other targets non-default.
16+
all:
17+
1418
allcheckinstallinstalldirsinstallcheckinstallcheck-paralleluninstallcleandistcleanmaintainer-cleandistdistcheckworldcheck-worldinstall-worldinstallcheck-world:
1519
@if [!-f GNUmakefile ];then\
1620
echo"You need to run the 'configure' program first. See the file";\

‎src/test/regress/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
# GNU make uses a make file named "GNUmakefile" in preference to "Makefile"
88
# if it exists. Postgres is shipped with a "GNUmakefile".
99

10+
11+
# AIX make defaults to building *every* target of the first rule. Start with
12+
# a single-target, empty rule to make the other targets non-default.
13+
all:
14+
1015
allinstallcleancheckinstallcheck:
1116
@echo"You must use GNU make to use Postgres. It may be installed"
1217
@echo"on your system with the name 'gmake'."

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp