summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2011-11-28 21:56:19 -0500
committerBruce Momjian <bruce@momjian.us>2011-11-28 21:56:58 -0500
commit7260a0d00a5365bc3e49dc8913465428da2c38b2 (patch)
tree7825ef111e71a51e4bb01babf8e38c2342b026e2
parent43dc4adf58ff1c342c2888feda75313230f5a658 (diff)
Document that perl needs to be indented during the pgindent run.
-rw-r--r--src/tools/msvc/README6
-rw-r--r--src/tools/pgindent/README4
2 files changed, 4 insertions, 6 deletions
diff --git a/src/tools/msvc/README b/src/tools/msvc/README
index 58e266e11fa..b8dd488b6f6 100644
--- a/src/tools/msvc/README
+++ b/src/tools/msvc/README
@@ -9,12 +9,6 @@ the libpq frontend library. For more information, see the documentation
chapter "Installation on Windows".
-Notes about code indention
---------------------------
-If the perl code is modified, use perltidy on it since pgindent won't
-touch perl code. Use the following commandline:
-perltidy -b -bl -nsfs -naws -l=100 -ole=unix *.pl *.pm
-
Notes about Visual Studio Express
---------------------------------
To build PostgreSQL using Visual Studio Express, the Platform SDK
diff --git a/src/tools/pgindent/README b/src/tools/pgindent/README
index 7504650292b..d88c2013630 100644
--- a/src/tools/pgindent/README
+++ b/src/tools/pgindent/README
@@ -37,6 +37,10 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
gmake -C contrib install
gmake installcheck-world
+8) Indent the Perl MSVC code:
+
+ cd src/tools/msvc
+ perltidy -b -bl -nsfs -naws -l=100 -ole=unix *.pl *.pm
---------------------------------------------------------------------------