From af3cf2cfa85b16650db7f9b537c8b85ddce7b97c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 4 Sep 2002 18:45:52 +0000 Subject: Update to reflect Tom's suggestions. --- src/tools/pgindent/README | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/tools/pgindent/README b/src/tools/pgindent/README index aae95173a83..72a55dd6d41 100644 --- a/src/tools/pgindent/README +++ b/src/tools/pgindent/README @@ -1,7 +1,14 @@ This can format all PostgreSQL *.c and *.h files, excluding libpq++, *.y, and *.l files. -On 09/06/1997, from the top directory, I ran: +Get the list of typedef's included in pgindent by running this on the +pgsql/bin directory: + + /src/tools/find_typedef + +and update the list in pgindent. + +From the top directory, run: find . -name '*.[ch]' -type f -print | egrep -v '\+\+|s_lock.h' | xargs -n100 pgindent @@ -23,12 +30,6 @@ If you don't believe me, take a directory and make a copy. Run pgindent on the copy using GNU indent, and do a diff -r. You will see what I mean. GNU indent does some things better, but mangles too. -We get the list of typedef's included in pgindent by running: - - /src/tools/find_typedef - -Make sure to do the pgsql/bin directory, and the src/interfaces/odbc -directory. Merge the output of these and remove duplicates. --------------------------------------------------------------------------- -- cgit v1.2.3