Skip to content

Commit 4f96ddd

Browse files
committed
Update pgindent instructions.
1 parent 65e806c commit 4f96ddd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/tools/pgindent/README

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.32 2010/02/26 01:40:15 momjian Exp $
1+
$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.33 2010/02/26 02:11:52 momjian Exp $
22

33
pgindent
44
========
55

66
This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
7-
*.l files. For source code typedefs, download:
7+
*.l files.
8+
9+
1) Download the typedef file from the builfarm:
810

911
http://www.pgbuildfarm.org/cgi-bin/typedefs.pl
1012

11-
1) Run 'gmake distclean' from the top of the source tree to remove any
12-
derived C files.
13+
2) Download a fresh CVS checkout
1314

14-
2) From the top of the source tree, run:
15+
3) From the top of the source tree, run:
1516

1617
find . -name '*.[ch]' -type f -print |
1718
egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |
1819
xargs -n100 pgindent /tmp/typedefs.pl
1920

20-
3) pgindent cannot process the YY_INPUT macro generated by flex, so remove
21-
the generate C files so they are rebuilt:
21+
4) Remove any files that generate errors.
2222

23-
rm -f $(find . -type f -name '*.l' -print | sed 's/l$/c/')
23+
5) Do a full test build.
2424

2525

2626
---------------------------------------------------------------------------

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy