make clean does not work in OpenSource, fails in WebKitLibraries
[WebKit-https.git] / WebKitLibraries / Makefile
index ed0ffba..c9f3535 100644 (file)
@@ -3,9 +3,13 @@ SCRIPTS_PATH = ../Tools/Scripts
 ifeq ($(shell sw_vers -productVersion | cut -d. -f-2), 10.10)
 libs:
        @true
 ifeq ($(shell sw_vers -productVersion | cut -d. -f-2), 10.10)
 libs:
        @true
+cleanlibs:
+       @true
 else
 libs:
        perl $(SCRIPTS_PATH)/copy-webkitlibraries-to-product-directory --wksi --llvm
 else
 libs:
        perl $(SCRIPTS_PATH)/copy-webkitlibraries-to-product-directory --wksi --llvm
+cleanlibs:
+       perl $(SCRIPTS_PATH)/copy-webkitlibraries-to-product-directory --clean
 endif
 
 all: libs
 endif
 
 all: libs
@@ -20,4 +24,7 @@ release r:
 
 analyze:
        $(SCRIPTS_PATH)/set-webkit-configuration --release
 
 analyze:
        $(SCRIPTS_PATH)/set-webkit-configuration --release
-       @$(MAKE) libs
\ No newline at end of file
+       @$(MAKE) libs
+
+clean:
+       @$(MAKE) cleanlibs