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

Commitc330b75

Browse files
Dynamically find correct installation docs in Makefile.
The base Makefile will output help to the user when invoking make inan unconfigured tree, the help was however always referring to a filewhich may not be present as it's only in tarballs. Dynamically checkfor the presence of the INSTALL file and fall back on README.git whenit's not available (which is the case of Git checkouts).Reported-by: Tim McNamara <tim@mcnamara.nz>Reviewed-by: Magnus Hagander <magnus@hagander.net>Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/730dae39-abaa-4140-893b-95d732fed003@www.fastmail.com
1 parent0f47e83 commitc330b75

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,14 @@ all:
1717

1818
allcheckinstallinstalldirsinstallcheckinstallcheck-paralleluninstallcleandistcleanmaintainer-cleandistdistcheckworldcheck-worldinstall-worldinstallcheck-world:
1919
@if [!-f GNUmakefile ];then\
20+
if [-f INSTALL ];then \
21+
INSTRUCTIONS="INSTALL";\
22+
else\
23+
INSTRUCTIONS="README.git";\
24+
fi;\
2025
echo"You need to run the 'configure' program first. See the file";\
21-
echo"'INSTALL' for installation instructions.";\
26+
echo"'$$INSTRUCTIONS' for installation instructions, or visit:";\
27+
echo"<https://www.postgresql.org/docs/devel/installation.html>";\
2228
false;\
2329
fi
2430
@IFS=':';\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp