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

Commit8e6c8da

Browse files
committed
pgindent: Fix order in instructions
The previous order of steps didn't literally work, because git clean-fdx would delete the downloaded typedefs.list. Also, pgindent needs tobe called with a path when one is in at the top of the build tree.
1 parentfdaf448 commit8e6c8da

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎src/tools/pgindent/README

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
1010

1111
3) Change directory to the top of the build tree.
1212

13-
4) Download the typedef file from the buildfarm:
14-
15-
wget -O src/tools/pgindent/typedefs.list http://buildfarm.postgresql.org/cgi-bin/typedefs.pl
16-
17-
5) Remove all derived files (pgindent has trouble with one of the flex macros):
13+
4) Remove all derived files (pgindent has trouble with one of the flex macros):
1814

1915
gmake maintainer-clean
2016

2117
Or:
2218

23-
git clean -fdx
19+
git clean -fdx
20+
21+
5) Download the typedef file from the buildfarm:
22+
23+
wget -O src/tools/pgindent/typedefs.list http://buildfarm.postgresql.org/cgi-bin/typedefs.pl
2424

2525
6) Run pgindent:
2626

27-
pgindent
27+
src/tools/pgindent/pgindent
2828

2929
7) Remove any files that generate errors and restore their original
3030
versions.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp