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

Commit 7260a0d

Browse files
committed
Document that perl needs to be indented during the pgindent run.
1 parent 43dc4ad commit 7260a0d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/tools/msvc/README

-6
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ the libpq frontend library. For more information, see the documentation
99
chapter "Installation on Windows".
1010

1111

12-
Notes about code indention
13-
--------------------------
14-
If the perl code is modified, use perltidy on it since pgindent won't
15-
touch perl code. Use the following commandline:
16-
perltidy -b -bl -nsfs -naws -l=100 -ole=unix *.pl *.pm
17-
1812
Notes about Visual Studio Express
1913
---------------------------------
2014
To build PostgreSQL using Visual Studio Express, the Platform SDK

src/tools/pgindent/README

+4
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
3737
gmake -C contrib install
3838
gmake installcheck-world
3939

40+
8) Indent the Perl MSVC code:
41+
42+
cd src/tools/msvc
43+
perltidy -b -bl -nsfs -naws -l=100 -ole=unix *.pl *.pm
4044

4145
---------------------------------------------------------------------------
4246

0 commit comments

Comments
 (0)