mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
pgindent run for release 9.3
This is the first run of the Perl-based pgindent script. Also update pgindent instructions.
This commit is contained in:
@ -37,13 +37,15 @@ sub Install
|
||||
$| = 1;
|
||||
|
||||
my $target = shift;
|
||||
|
||||
# if called from vcregress, the config will be passed to us
|
||||
# so no need to re-include these
|
||||
our $config = shift;
|
||||
unless ($config)
|
||||
{
|
||||
|
||||
# suppress warning about harmless redeclaration of $config
|
||||
no warnings 'misc';
|
||||
no warnings 'misc';
|
||||
require "config_default.pl";
|
||||
require "config.pl" if (-f "config.pl");
|
||||
}
|
||||
@ -83,11 +85,15 @@ sub Install
|
||||
"src");
|
||||
CopySetOfFiles('config files', $sample_files, $target . '/share/');
|
||||
CopyFiles(
|
||||
'Import libraries', $target . '/lib/',
|
||||
"$conf\\", "postgres\\postgres.lib",
|
||||
"libpq\\libpq.lib", "libecpg\\libecpg.lib",
|
||||
'Import libraries',
|
||||
$target . '/lib/',
|
||||
"$conf\\",
|
||||
"postgres\\postgres.lib",
|
||||
"libpq\\libpq.lib",
|
||||
"libecpg\\libecpg.lib",
|
||||
"libpgcommon\\libpgcommon.lib",
|
||||
"libpgport\\libpgport.lib", "libpgtypes\\libpgtypes.lib",
|
||||
"libpgport\\libpgport.lib",
|
||||
"libpgtypes\\libpgtypes.lib",
|
||||
"libecpg_compat\\libecpg_compat.lib");
|
||||
CopySetOfFiles(
|
||||
'timezone names',
|
||||
@ -490,11 +496,10 @@ sub CopyIncludeFiles
|
||||
'include/internal/libpq', 'include/server', 'include/server/parser');
|
||||
|
||||
CopyFiles(
|
||||
'Public headers',
|
||||
$target . '/include/',
|
||||
'src/include/', 'postgres_ext.h',
|
||||
'pg_config.h', 'pg_config_ext.h', 'pg_config_os.h',
|
||||
'pg_config_manual.h');
|
||||
'Public headers', $target . '/include/',
|
||||
'src/include/', 'postgres_ext.h',
|
||||
'pg_config.h', 'pg_config_ext.h',
|
||||
'pg_config_os.h', 'pg_config_manual.h');
|
||||
lcopy('src/include/libpq/libpq-fs.h', $target . '/include/libpq/')
|
||||
|| croak 'Could not copy libpq-fs.h';
|
||||
|
||||
|
Reference in New Issue
Block a user