Kaydet (Commit) 2c8cc6e5 authored tarafından Michael Meeks's avatar Michael Meeks

linkoo: fix uiconfig linking variously.

allow install dir to be a symlink, and link xmlsec and spa.

Change-Id: Iba7b1bc2af22d7282e3c039cf90ccfe79d6c9fc4
üst dc56f97f
......@@ -449,7 +449,7 @@ sub link_ui_files()
{
push( @files, $File::Find::name );
}
}, $OOO_INSTALL );
}, "$OOO_INSTALL/" );
my @modules = get_modules( $OOO_BUILD, $TARGET );
......@@ -488,12 +488,16 @@ sub link_ui_files()
if ( $module_dir eq "sfx" ) { $module = "sfx2"; }
elsif ( $module_dir eq "svt" ) { $module = "svtools"; }
elsif ( $module_dir eq "sw" ) { $module = "sw"; $nb_segments = 3; }
elsif ( $module_dir eq "spa" ) { $module = "padmin"; }
elsif ( $module_dir eq "xmlsec" ) { $module = "xmlsecurity"; }
$modulepath = "$module/uiconfig";
}
my $subpath = catdir( @dest_dirs[-$nb_segments..-2] );
my $src_dir = "$OOO_BUILD/$modulepath/$subpath";
# print STDERR "$module_dir : $modulepath : '$src_dir/$name'\n";
if ( -e "$src_dir/$name" )
{
do_link ( $src_dir, $dest_dir, $name, $name );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment