[Box Backup-commit] COMMIT r2738 - box/trunk/infrastructure

subversion at boxbackup.org subversion at boxbackup.org
Tue Sep 14 23:12:08 BST 2010


Author: chris
Date: 2010-09-14 23:12:07 +0100 (Tue, 14 Sep 2010)
New Revision: 2738

Modified:
   box/trunk/infrastructure/makeparcels.pl.in
Log:
Fix HTML documentation installation. (merges [2737] from trunk)


Modified: box/trunk/infrastructure/makeparcels.pl.in
===================================================================
--- box/trunk/infrastructure/makeparcels.pl.in	2010-09-14 22:10:35 UTC (rev 2737)
+++ box/trunk/infrastructure/makeparcels.pl.in	2010-09-14 22:12:07 UTC (rev 2738)
@@ -132,8 +132,9 @@
 
 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 @@
 			($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])$/;




More information about the Boxbackup-commit mailing list