mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Mention use all configure options when getting pgindent typedefs.
This commit is contained in:
parent
55cfdd4400
commit
812bf6984b
@ -3,20 +3,22 @@ files.
|
|||||||
|
|
||||||
To use pgindent:
|
To use pgindent:
|
||||||
|
|
||||||
1) Build the source tree with _debug_ symbols and install
|
1) Build the source tree with _debug_ symbols and all possible configure options
|
||||||
|
|
||||||
2) Install all /contrib libraries
|
2) Install to /usr/local/pgsql
|
||||||
|
|
||||||
3) Get the list of _current_ typedefs by running:
|
3) Install all /contrib libraries
|
||||||
|
|
||||||
|
4) 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
|
||||||
|
|
||||||
4) Add the typedef output to the pgindent script.
|
5) Add the typedef output to the pgindent script.
|
||||||
|
|
||||||
5) Run 'gmake distclean' from the top of the source tree to remove any
|
6) Run 'gmake distclean' from the top of the source tree to remove any
|
||||||
derived C files.
|
derived C files.
|
||||||
|
|
||||||
6) From the top of the source tree, run:
|
7) 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/' |
|
||||||
|
Loading…
Reference in New Issue
Block a user