+2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
+
+ Reviewed and landed by ap.
+
+ Cmake: make it possible to install the libraries after having built using 'build-webkit'.
+ Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
+
+ * Scripts/webkitdirs.pm:
+
2006-10-04 Mark Rowe <bdash@webkit.org>
Reviewed by Stephanie.
}
my $config = configuration();
+ my $prefix = $ENV{"WebKitInstallationPrefix"};
my @buildArgs = ("-DCMAKE_BUILD_TYPE=$config");
+ push @buildArgs, "-DCMAKE_INSTALL_PREFIX=" . $prefix if(defined($prefix));
push @buildArgs, "-DWEBKIT_DO_NOT_USE_COLORFUL_OUTPUT=" . ($colorize ? "OFF" : "ON");
push @buildArgs, "../../";
print "Calling 'cmake @buildArgs' in " . baseProductDir() . "/$config ...\n\n";
+ print "Installation directory: $prefix\n" if(defined($prefix));
system "mkdir -p " . baseProductDir() . "/$config";
chdir baseProductDir() . "/$config" or die "Failed to cd into " . baseProductDir() . "/$config \n";