Add a prerequisite named 'force' to the debug and release rules to prevent the "debug...
[WebKit-https.git] / Makefile.shared
index 718439a..2fd9e7f 100644 (file)
@@ -1,16 +1,17 @@
 XCODE_OPTIONS = `perl -I../WebKitTools/Scripts -Mwebkitdirs -e 'print XcodeOptionString()'`
-XCODE_OPTIONS_NO_CONFIG = `perl -I../WebKitTools/Scripts -Mwebkitdirs -e 'print XcodeOptionStringNoConfig()'`
 
 all:
        xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS)
 
-debug d development dev develop:
-       ../WebKitTools/Scripts/set-webkit-configuration --development
-       xcodebuild $(OTHER_OPTIONS) -configuration Development $(XCODE_OPTIONS_NO_CONFIG)
+debug d development dev develop: force
+       ../WebKitTools/Scripts/set-webkit-configuration --debug
+       xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS)
 
-release r deployment dep deploy:
-       ../WebKitTools/Scripts/set-webkit-configuration --deployment
-       xcodebuild $(OTHER_OPTIONS) -configuration Deployment $(XCODE_OPTIONS_NO_CONFIG)
+release r deployment dep deploy: force
+       ../WebKitTools/Scripts/set-webkit-configuration --release
+       xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS)
 
 clean:
        xcodebuild -alltargets clean $(XCODE_OPTIONS)
+
+force: ;