From b059d5ef03a1b68938e82097723f282d54c1c6f6 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 14 Sep 2010 22:12:07 +0000 Subject: Fix HTML documentation installation. (merges [2737] from trunk) --- infrastructure/makeparcels.pl.in | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'infrastructure/makeparcels.pl.in') diff --git a/infrastructure/makeparcels.pl.in b/infrastructure/makeparcels.pl.in index 3419a4ee..bd23f795 100755 --- a/infrastructure/makeparcels.pl.in +++ b/infrastructure/makeparcels.pl.in @@ -132,8 +132,9 @@ my @clean_deps; for my $parcel (@parcels) { - my $target = BoxPlatform::parcel_target($parcel); - my $dir = BoxPlatform::parcel_dir($parcel); + my $version = BoxPlatform::parcel_root($parcel); + my $target = BoxPlatform::parcel_target($parcel); + my $dir = BoxPlatform::parcel_dir($parcel); my @parcel_deps; unless ($target_windows) @@ -291,13 +292,18 @@ EOF ($type,$name,$dest) = @args; } - if ($type eq 'script') { # remove path from script name $name =~ s{.*/}{}; } + if ($type eq 'html') + { + $dest = "share/doc/$version"; + $name = "docs/$name.html"; + } + if ($type eq 'man') { $name =~ /([0-9])$/; -- cgit v1.2.3