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

Commit4f96ddd

Browse files
committed
Update pgindent instructions.
1 parent65e806c commit4f96ddd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎src/tools/pgindent/README

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.32 2010/02/2601:40:15 momjian Exp $
1+
$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.33 2010/02/2602:11:52 momjian Exp $
22

33
pgindent
44
========
55

66
This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
7-
*.l files. For source code typedefs, download:
7+
*.l files.
8+
9+
1) Download the typedef file from the builfarm:
810

911
http://www.pgbuildfarm.org/cgi-bin/typedefs.pl
1012

11-
1) Run 'gmake distclean' from the top of the source tree to remove any
12-
derived C files.
13+
2) Download a fresh CVS checkout
1314

14-
2) From the top of the source tree, run:
15+
3) From the top of the source tree, run:
1516

1617
find . -name '*.[ch]' -type f -print |
1718
egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |
1819
xargs -n100 pgindent /tmp/typedefs.pl
1920

20-
3) pgindent cannot process the YY_INPUT macro generated by flex, so remove
21-
the generate C files so they are rebuilt:
21+
4) Remove any files that generate errors.
2222

23-
rm -f $(find . -type f -name '*.l' -print | sed 's/l$/c/')
23+
5) Do a full test build.
2424

2525

2626
---------------------------------------------------------------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp