File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
This can format all PostgreSQL *.c and *.h files, but excludes *.y, and *.l
2
2
files.
3
3
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:
6
9
7
10
src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/lib
8
11
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.
11
13
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
13
15
derived C files.
14
16
15
- 3 ) From the top directory , run:
17
+ 5 ) From the top of the source tree , run:
16
18
17
19
find . -name '*.[ch]' -type f -print |
18
20
egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |
You can’t perform that action at this time.
0 commit comments