1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-26 01:22:12 +03:00

Install debugger symbols (in their own directory)

This commit is contained in:
Magnus Hagander
2007-04-12 12:46:20 +00:00
parent 4dd3365086
commit b60ddffa93

View File

@ -3,7 +3,7 @@ package Install;
# #
# Package that provides 'make install' functionality for msvc builds # Package that provides 'make install' functionality for msvc builds
# #
# $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.9 2007/04/04 18:45:59 adunstan Exp $ # $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.10 2007/04/12 12:46:20 mha Exp $
# #
use strict; use strict;
use warnings; use warnings;
@ -38,7 +38,7 @@ sub Install
print "Installing for $conf\n"; print "Installing for $conf\n";
EnsureDirectories($target, 'bin','lib','share','share/timezonesets','share/contrib','doc', EnsureDirectories($target, 'bin','lib','share','share/timezonesets','share/contrib','doc',
'doc/contrib'); 'doc/contrib', 'symbols');
CopySolutionOutput($conf, $target); CopySolutionOutput($conf, $target);
copy($target . '/lib/libpq.dll', $target . '/bin/libpq.dll'); copy($target . '/lib/libpq.dll', $target . '/bin/libpq.dll');
@ -162,6 +162,7 @@ sub CopySolutionOutput
next; next;
} }
copy("$conf\\$pf\\$pf.$ext","$target\\$dir\\$pf.$ext") || croak "Could not copy $pf.$ext\n"; copy("$conf\\$pf\\$pf.$ext","$target\\$dir\\$pf.$ext") || croak "Could not copy $pf.$ext\n";
copy("$conf\\$pf\\$pf.pdb","$target\\symbols\\$pf.pdb") || croak "Could not copy $pf.pdb\n";
print "."; print ".";
} }
print "\n"; print "\n";