|
|
|
|
@ -3,7 +3,7 @@ package Install; |
|
|
|
|
# |
|
|
|
|
# Package that provides 'make install' functionality for msvc builds |
|
|
|
|
# |
|
|
|
|
# $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.6 2007/03/29 20:48:26 mha Exp $ |
|
|
|
|
# $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.7 2007/04/02 12:11:26 mha Exp $ |
|
|
|
|
# |
|
|
|
|
use strict; |
|
|
|
|
use warnings; |
|
|
|
|
@ -67,6 +67,8 @@ sub Install |
|
|
|
|
CopyIncludeFiles($target); |
|
|
|
|
|
|
|
|
|
GenerateNLSFiles($target,$config->{nls}) if ($config->{nls}); |
|
|
|
|
|
|
|
|
|
print "Installation complete.\n"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
sub EnsureDirectories |
|
|
|
|
@ -336,7 +338,7 @@ sub CopyIncludeFiles |
|
|
|
|
|
|
|
|
|
EnsureDirectories($target . '/include/postgresql/server', $d); |
|
|
|
|
system( |
|
|
|
|
"xcopy /s /i /q /r /y src\\include\\$d\\*.h $target\\include\\postgresql\\server\\$d\\") |
|
|
|
|
"xcopy /s /i /q /r /y src\\include\\$d\\*.h \"$target\\include\\postgresql\\server\\$d\\\"") |
|
|
|
|
&& croak("Failed to copy include directory $d\n"); |
|
|
|
|
} |
|
|
|
|
closedir($D); |
|
|
|
|
|