aboutsummaryrefslogtreecommitdiff
path: root/src/tools/pgindent/README
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/pgindent/README')
-rw-r--r--src/tools/pgindent/README14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/tools/pgindent/README b/src/tools/pgindent/README
index c98df9698b5..fa05274f21e 100644
--- a/src/tools/pgindent/README
+++ b/src/tools/pgindent/README
@@ -7,22 +7,20 @@ To use pgindent:
2) Install to /usr/local/pgsql
-3) Install all /contrib libraries
+3) Install all /contrib modules
-4) Get the list of _current_ typedefs by running:
+4) Save a list of 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 > /tmp/pgtypedefs
-5) Add the typedef output to the pgindent script.
-
-6) Run 'gmake distclean' from the top of the source tree to remove any
+5) Run 'gmake distclean' from the top of the source tree to remove any
derived C files.
-7) From the top of the source tree, run:
+6) From the top of the source tree, run:
find . -name '*.[ch]' -type f -print |
egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |
- xargs -n100 pgindent
+ xargs -n100 pgindent /tmp/pgtypedefs
---------------------------------------------------------------------------