|
1 |
| -$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.34 2010/02/2602:58:49 momjian Exp $ |
| 1 | +$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.35 2010/02/2613:50:34 momjian Exp $ |
2 | 2 |
|
3 | 3 | pgindent
|
4 | 4 | ========
|
5 | 5 |
|
6 | 6 | This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
|
7 | 7 | *.l files.
|
8 | 8 |
|
9 |
| -1) Change directory to the top of theCVS tree. |
| 9 | +1) Change directory to the top of thebuild tree. |
10 | 10 |
|
11 | 11 | 1) Download the typedef file from the builfarm:
|
12 | 12 |
|
13 | 13 | wget -O src/tools/pgindent/typedefs.list http://www.pgbuildfarm.org/cgi-bin/typedefs.pl
|
14 | 14 |
|
15 |
| -2) Download a fresh CVS checkout. |
| 15 | +2) Download a fresh CVS checkout. This will guarantee you do not have any |
| 16 | + derived bison or flex C files. (pgindent has trouble with one of the |
| 17 | + flex macros.) |
16 | 18 |
|
17 | 19 | 3) Run pgindent:
|
18 | 20 |
|
|