3 # First time check-out script for Web Kit Open Source Project.
7 # Check that we're in the right directory.
8 if (! -d "WebKitTools") {
9 if (-d "../WebKitTools") {
12 if (! -d "WebKitTools") {
13 die "No WebKitTools directory found. Please run this script from the directory containing WebKitTools.\n";
17 # Read the CVS root out of the project that's already checked out.
18 open ROOT, "WebKitTools/CVS/Root" or die;
23 # Check out all the sources.
24 print "CVS root is $root\n";
25 print "Checking out WebKitTools (again), JavaScriptCore, WebCore, WebKitLibraries, and WebKit\n";
26 open CVS, "cvs -d '$root' co -P WebKitTools JavaScriptCore WebCore WebKitLibraries WebKit |" or die;
34 print "===============================================================\n";
35 print " Web Kit sources are now checked out and ready to build.\n";
36 print " You can build by projects in Xcode or with the build-webkit\n";
37 print " script. The build-webkit script is inside WebKitTools/Scripts\n";
38 print " along with other useful scripts; it's a good idea to put that\n";
39 print " directory into your shell's search path.\n";
40 print "===============================================================\n";