diff options
author | Bruce Momjian <bruce@momjian.us> | 2007-11-15 22:15:46 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2007-11-15 22:15:46 +0000 |
commit | da0b2cdff893512e01cd175eb2e0e831d2fa559e (patch) | |
tree | bd67b9fc12d7b75ce4d4d6ae6d4b2c14333c3831 /src | |
parent | 6c8f69cd58cf9684339e0dc57bbc72209e27984d (diff) | |
download | postgresql-da0b2cdff893512e01cd175eb2e0e831d2fa559e.tar.gz postgresql-da0b2cdff893512e01cd175eb2e0e831d2fa559e.zip |
Beef up README instructions, again.
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/pgindent/README | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/tools/pgindent/README b/src/tools/pgindent/README index 0789069e27a..807021addcb 100644 --- a/src/tools/pgindent/README +++ b/src/tools/pgindent/README @@ -1,18 +1,20 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and *.l files. -1) Get the list of _current_ typedefs to be included in pgindent by -running this on the pgsql/bin and pgsql/lib directories: +To use pgindent: + +1) Build the source tree with _debug_ symbols and install + +2) Get the list of _current_ typedefs by running: src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/lib -and update the list in pgindent. This requires the binaries have -_debug_ symbols. +3) Add the typedef output to the pgindent script. -2) Run 'gmake distclean' from the top of the source tree to remove any +4) Run 'gmake distclean' from the top of the source tree to remove any derived C files. -3) From the top directory, run: +5) From the top of the source tree, run: find . -name '*.[ch]' -type f -print | egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' | |