From 7260a0d00a5365bc3e49dc8913465428da2c38b2 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Mon, 28 Nov 2011 21:56:19 -0500
Subject: [PATCH] Document that perl needs to be indented during the pgindent
 run.

---
 src/tools/msvc/README     | 6 ------
 src/tools/pgindent/README | 4 ++++
 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
 
 ---------------------------------------------------------------------------
 
-- 
GitLab