aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2010-02-26 15:42:36 +0000
committerBruce Momjian <bruce@momjian.us>2010-02-26 15:42:36 +0000
commit55d1402f61d1f7a8c7e5cddd2362055c6afa326b (patch)
tree003aaddd89afb561ca4abe5d82fddb4c23f11211 /src
parente0d4b9c66f742145dfd244ab282f66e502eac74e (diff)
downloadpostgresql-55d1402f61d1f7a8c7e5cddd2362055c6afa326b.tar.gz
postgresql-55d1402f61d1f7a8c7e5cddd2362055c6afa326b.zip
Update pgindent docs to use maintainer-clean.
Diffstat (limited to 'src')
-rw-r--r--src/tools/pgindent/README17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/tools/pgindent/README b/src/tools/pgindent/README
index 660d69ae9da..991c49f6e65 100644
--- a/src/tools/pgindent/README
+++ b/src/tools/pgindent/README
@@ -1,4 +1,4 @@
-$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.35 2010/02/26 13:50:34 momjian Exp $
+$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.36 2010/02/26 15:42:36 momjian Exp $
pgindent
========
@@ -8,23 +8,24 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
1) Change directory to the top of the build tree.
-1) Download the typedef file from the builfarm:
+2) Download the typedef file from the builfarm:
wget -O src/tools/pgindent/typedefs.list http://www.pgbuildfarm.org/cgi-bin/typedefs.pl
-2) Download a fresh CVS checkout. This will guarantee you do not have any
- derived bison or flex C files. (pgindent has trouble with one of the
- flex macros.)
+3) Clean out all derived files (pgindent has trouble with one of the
+ flex macros):
-3) Run pgindent:
+ gmake maintainer-clean
+
+4) Run pgindent:
find . -name '*.[ch]' -type f -print |
egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |
xargs -n100 pgindent src/tools/pgindent/typedefs.list
-4) Remove any files that generate errors.
+5) Remove any files that generate errors.
-5) Do a full test build.
+6) Do a full test build.
---------------------------------------------------------------------------