mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Document why pgindent wants a fresh CVS checkout.
This commit is contained in:
parent
17b5b9909b
commit
e0d4b9c66f
@ -1,4 +1,4 @@
|
|||||||
$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.34 2010/02/26 02:58:49 momjian Exp $
|
$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.35 2010/02/26 13:50:34 momjian Exp $
|
||||||
|
|
||||||
pgindent
|
pgindent
|
||||||
========
|
========
|
||||||
@ -6,13 +6,15 @@ pgindent
|
|||||||
This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
|
This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
|
||||||
*.l files.
|
*.l files.
|
||||||
|
|
||||||
1) Change directory to the top of the CVS tree.
|
1) Change directory to the top of the build tree.
|
||||||
|
|
||||||
1) Download the typedef file from the builfarm:
|
1) Download the typedef file from the builfarm:
|
||||||
|
|
||||||
wget -O src/tools/pgindent/typedefs.list http://www.pgbuildfarm.org/cgi-bin/typedefs.pl
|
wget -O src/tools/pgindent/typedefs.list http://www.pgbuildfarm.org/cgi-bin/typedefs.pl
|
||||||
|
|
||||||
2) Download a fresh CVS checkout.
|
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) Run pgindent:
|
3) Run pgindent:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user