1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-26 01:22:12 +03:00

Beef up README instructions, again.

This commit is contained in:
Bruce Momjian
2007-11-15 22:15:46 +00:00
parent 6c8f69cd58
commit da0b2cdff8

View File

@ -1,18 +1,20 @@
This can format all PostgreSQL *.c and *.h files, but excludes *.y, and *.l This can format all PostgreSQL *.c and *.h files, but excludes *.y, and *.l
files. files.
1) Get the list of _current_ typedefs to be included in pgindent by To use pgindent:
running this on the pgsql/bin and pgsql/lib directories:
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 src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/lib
and update the list in pgindent. This requires the binaries have 3) Add the typedef output to the pgindent script.
_debug_ symbols.
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. derived C files.
3) From the top directory, run: 5) From the top of the source tree, run:
find . -name '*.[ch]' -type f -print | find . -name '*.[ch]' -type f -print |
egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' | egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |