|
1 |
| -$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.33 2010/02/26 02:11:52 momjian Exp $ |
| 1 | +$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.34 2010/02/26 02:58:49 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 the CVS tree. |
| 10 | + |
9 | 11 | 1) Download the typedef file from the builfarm:
|
10 | 12 |
|
11 |
| -http://www.pgbuildfarm.org/cgi-bin/typedefs.pl |
| 13 | +wget -O src/tools/pgindent/typedefs.listhttp://www.pgbuildfarm.org/cgi-bin/typedefs.pl |
12 | 14 |
|
13 |
| -2) Download a fresh CVS checkout |
| 15 | +2) Download a fresh CVS checkout. |
14 | 16 |
|
15 |
| -3)From the top of the source tree, run: |
| 17 | +3)Run pgindent: |
16 | 18 |
|
17 | 19 | find . -name '*.[ch]' -type f -print |
|
18 | 20 | egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |
|
19 |
| -xargs -n100 pgindent/tmp/typedefs.pl |
| 21 | +xargs -n100 pgindentsrc/tools/pgindent/typedefs.list |
20 | 22 |
|
21 | 23 | 4) Remove any files that generate errors.
|
22 | 24 |
|
|