Skip to content

Commit da0b2cd

Browse files
committed
Beef up README instructions, again.
1 parent 6c8f69c commit da0b2cd

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/tools/pgindent/README

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
This can format all PostgreSQL *.c and *.h files, but excludes *.y, and *.l
22
files.
33

4-
1) Get the list of _current_ typedefs to be included in pgindent by
5-
running this on the pgsql/bin and pgsql/lib directories:
4+
To use pgindent:
5+
6+
1) Build the source tree with _debug_ symbols and install
7+
8+
2) Get the list of _current_ typedefs by running:
69

710
src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/lib
811

9-
and update the list in pgindent. This requires the binaries have
10-
_debug_ symbols.
12+
3) Add the typedef output to the pgindent script.
1113

12-
2) Run 'gmake distclean' from the top of the source tree to remove any
14+
4) Run 'gmake distclean' from the top of the source tree to remove any
1315
derived C files.
1416

15-
3) From the top directory, run:
17+
5) From the top of the source tree, run:
1618

1719
find . -name '*.[ch]' -type f -print |
1820
egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |

0 commit comments

Comments
 (0)