git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 65e806c)
Update pgindent instructions.
2010年2月26日 02:11:52 +0000 (02:11 +0000)
2010年2月26日 02:11:52 +0000 (02:11 +0000)

diff --git a/src/tools/pgindent/README b/src/tools/pgindent/README
index 133c82852f8c58320c64ac2f653e7cec95728ab8..5d0af44497254851a85861a19f374db69690ce84 100644 (file)
--- a/src/tools/pgindent/README
+++ b/src/tools/pgindent/README
@@ -1,26 +1,26 @@
-$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.32 2010年02月26日 01:40:15 momjian Exp $
+$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.33 2010年02月26日 02:11:52 momjian Exp $
pgindent
========
This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
-*.l files. For source code typedefs, download:
+*.l files.
+
+1) Download the typedef file from the builfarm:
http://www.pgbuildfarm.org/cgi-bin/typedefs.pl
-1) Run 'gmake distclean' from the top of the source tree to remove any
- derived C files.
+2) Download a fresh CVS checkout
-2) From the top of the source tree, run:
+3) 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 /tmp/typedefs.pl
-3) pgindent cannot process the YY_INPUT macro generated by flex, so remove
- the generate C files so they are rebuilt:
+4) Remove any files that generate errors.
- rm -f $(find . -type f -name '*.l' -print | sed 's/l$/c/')
+5) Do a full test build.
---------------------------------------------------------------------------
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /