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

Commit621eb15

Browse files
committed
Add installing entab to pgindent instructions
And minor other pgindent documentation tweaks.
1 parent5b9c1e6 commit621eb15

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

‎src/tools/pgindent/README

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,34 @@ pgindent
66
This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
77
*.l files.
88

9-
1) Install pg_bsd_indent (see below for details)
9+
1) Install pg_bsd_indent (see below for details).
1010

11-
2)Change directory to the top of the build tree.
11+
2)Install entab (src/tools/entab/).
1212

13-
3) Download the typedef file from the buildfarm:
13+
3) Change directory to the top of the build tree.
14+
15+
4) Download the typedef file from the buildfarm:
1416

1517
wget -O src/tools/pgindent/typedefs.list http://buildfarm.postgresql.org/cgi-bin/typedefs.pl
1618

17-
4) Remove all derived files (pgindent has trouble with one of the flex macros):
19+
5) Remove all derived files (pgindent has trouble with one of the flex macros):
1820

1921
gmake maintainer-clean
2022

21-
5) Run pgindent:
23+
Or:
24+
25+
git clean -fdx
26+
27+
6) Run pgindent:
2228

2329
find . -name '*.[ch]' -type f -print | \
2430
egrep -v -f src/tools/pgindent/exclude_file_patterns | \
2531
xargs -n100 src/tools/pgindent/pgindent src/tools/pgindent/typedefs.list
2632

27-
6) Remove any files that generate errors and restore their original
33+
7) Remove any files that generate errors and restore their original
2834
versions.
2935

30-
7) Do a full test build:
36+
8) Do a full test build:
3137

3238
run configure
3339
# stop is only necessary if it's going to install in a location with an
@@ -37,7 +43,7 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
3743
gmake -C contrib install
3844
gmake installcheck-world
3945

40-
8) Indent the Perl MSVC code:
46+
9) Indent the Perl MSVC code:
4147

4248
cd src/tools/msvc
4349
perltidy -b -bl -nsfs -naws -l=100 -ole=unix *.pl *.pm
@@ -47,7 +53,7 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
4753
BSD indent
4854
----------
4955

50-
We have standardized on NetBSD's indent, and renamed it pg_bsd_indent.
56+
We have standardized on NetBSD's indent, and renamed it pg_bsd_indent.
5157
We have fixed a few bugs which requre the NetBSD source to be patched
5258
with indent.bsd.patch patch. A fully patched version is available at
5359
ftp://ftp.postgresql.org/pub/dev.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp