+2007-04-23 Adam Roben <aroben@apple.com>
+
+ Reviewed by Mark Rowe and David Kilzer.
+
+ * Scripts/build-webkit: Print the path to the run-safari script when
+ finished building so that users can copy-and-paste the command to
+ execute it.
+
2007-04-23 Darin Adler <darin@apple.com>
Reviewed by Hyatt.
# Simplified build script for Web Kit Open Source Project.
use strict;
+use File::Basename;
+use File::Spec;
use FindBin;
use Getopt::Long qw(:config pass_through);
use lib $FindBin::Bin;
use webkitdirs;
use POSIX;
+my $originalWorkingDirectory = getcwd();
+
my $svgSupport = 1;
my $svgExperimentalSupport = 0;
my $xpathSupport = 1;
}
# Write out congratulations message.
+
+my $runSafariPath = File::Spec->catpath("", File::Spec->abs2rel(dirname($0), $originalWorkingDirectory), "run-safari");
print "\n";
print "===========================================================\n";
print " WebKit is now built. To run Safari with this newly-built\n";
-print " code, use the \"run-safari\" script.\n";
+print " code, use the \"$runSafariPath\" script.\n";
if ($svgSupport) {
print "\n NOTE: WebKit has been built with SVG support enabled.\n";
print " Safari will have SVG viewing capabilities.\n";