Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 55d1402

Browse files
committed
Update pgindent docs to use maintainer-clean.
1 parent e0d4b9c commit 55d1402

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/tools/pgindent/README

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.35 2010/02/26 13:50:34 momjian Exp $
1+
$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.36 2010/02/26 15:42:36 momjian Exp $
22

33
pgindent
44
========
@@ -8,23 +8,24 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
88

99
1) Change directory to the top of the build tree.
1010

11-
1) Download the typedef file from the builfarm:
11+
2) Download the typedef file from the builfarm:
1212

1313
wget -O src/tools/pgindent/typedefs.list http://www.pgbuildfarm.org/cgi-bin/typedefs.pl
1414

15-
2) Download a fresh CVS checkout. This will guarantee you do not have any
16-
derived bison or flex C files. (pgindent has trouble with one of the
17-
flex macros.)
15+
3) Clean out all derived files (pgindent has trouble with one of the
16+
flex macros):
1817

19-
3) Run pgindent:
18+
gmake maintainer-clean
19+
20+
4) Run pgindent:
2021

2122
find . -name '*.[ch]' -type f -print |
2223
egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |
2324
xargs -n100 pgindent src/tools/pgindent/typedefs.list
2425

25-
4) Remove any files that generate errors.
26+
5) Remove any files that generate errors.
2627

27-
5) Do a full test build.
28+
6) Do a full test build.
2829

2930

3031
---------------------------------------------------------------------------

0 commit comments

Comments
 (0)