Add a prerequisite named 'force' to the debug and release rules to prevent the "debug...
[WebKit.git] / Makefile.shared
index 718439a0ac3eb2de9c625a65fe7068c18a06e658..2fd9e7ff4277ba0933a6a83cd03741065567b97b 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: ;