diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2013-02-14 21:40:05 -0500 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2013-02-14 21:40:05 -0500 |
commit | 8e6c8da16a51e24a33bf4afeb311ca5d0ecd2b21 (patch) | |
tree | 04c4dc7880d2ecc1845c3e3ff58f3827f5cffe07 /src | |
parent | fdaf44862beba24c12434d31df556fab25fd3ee7 (diff) | |
download | postgresql-8e6c8da16a51e24a33bf4afeb311ca5d0ecd2b21.tar.gz postgresql-8e6c8da16a51e24a33bf4afeb311ca5d0ecd2b21.zip |
pgindent: Fix order in instructions
The previous order of steps didn't literally work, because git clean
-fdx would delete the downloaded typedefs.list. Also, pgindent needs to
be called with a path when one is in at the top of the build tree.
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/pgindent/README | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/pgindent/README b/src/tools/pgindent/README index a89c5c214fb..34d59768fdc 100644 --- a/src/tools/pgindent/README +++ b/src/tools/pgindent/README @@ -10,21 +10,21 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and 3) Change directory to the top of the build tree. -4) Download the typedef file from the buildfarm: - - wget -O src/tools/pgindent/typedefs.list http://buildfarm.postgresql.org/cgi-bin/typedefs.pl - -5) Remove all derived files (pgindent has trouble with one of the flex macros): +4) Remove all derived files (pgindent has trouble with one of the flex macros): gmake maintainer-clean Or: - git clean -fdx + git clean -fdx + +5) Download the typedef file from the buildfarm: + + wget -O src/tools/pgindent/typedefs.list http://buildfarm.postgresql.org/cgi-bin/typedefs.pl 6) Run pgindent: - pgindent + src/tools/pgindent/pgindent 7) Remove any files that generate errors and restore their original versions. |