RESOLVED FIXED 135734
make clean does not work in OpenSource, fails in WebKitLibraries
https://bugs.webkit.org/show_bug.cgi?id=135734
Summary make clean does not work in OpenSource, fails in WebKitLibraries
Joseph Pecoraro
Reported 2014-08-07 16:48:57 PDT
* SUMMARY `make clean` does not work because WebKitLibraries' Makefile is missing a "clean" target. * STEPS TO REPRODUCE shell> cd WebKitLibraries && make clean
Attachments
[PATCH] Proposed Fix (3.92 KB, patch)
2014-08-07 16:51 PDT, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2014-08-07 16:51:20 PDT
Created attachment 236241 [details] [PATCH] Proposed Fix
David Kilzer (:ddkilzer)
Comment 2 2014-08-08 11:24:32 PDT
Comment on attachment 236241 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=236241&action=review r=me > Tools/Scripts/copy-webkitlibraries-to-product-directory:311 > + (system("rm", "-rf", "$productDir/usr/local/include/WebKitSystemInterface.h") == 0) or die; > + (system("rm", "-rf", "$productDir$llvmPrefix") == 0) or die; I think you need to use the exitStatus() function (in VCSUtils.pm) to check the result of system() on Windows. To put another way, I'm not sure if "system() == 0" will work on Windows.
Joseph Pecoraro
Comment 3 2014-08-08 11:46:50 PDT
Comment on attachment 236241 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=236241&action=review >> Tools/Scripts/copy-webkitlibraries-to-product-directory:311 >> + (system("rm", "-rf", "$productDir$llvmPrefix") == 0) or die; > > I think you need to use the exitStatus() function (in VCSUtils.pm) to check the result of system() on Windows. > > To put another way, I'm not sure if "system() == 0" will work on Windows. The rest of this file uses this idiom. Spoke on IRC lets land as is.
WebKit Commit Bot
Comment 4 2014-08-08 12:20:43 PDT
Comment on attachment 236241 [details] [PATCH] Proposed Fix Clearing flags on attachment: 236241 Committed r172349: <http://trac.webkit.org/changeset/172349>
WebKit Commit Bot
Comment 5 2014-08-08 12:21:12 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.