incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject [3/29] ios commit: changes to cordovalib makefile for generating JS
Date Fri, 16 Mar 2012 18:14:48 GMT
changes to cordovalib makefile for generating JS


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/191158ab
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/191158ab
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/191158ab

Branch: refs/heads/master
Commit: 191158ab449ae9d3a85835f043aa10d27db0fee5
Parents: ab2afce
Author: Fil Maj <maj.fil@gmail.com>
Authored: Fri Mar 16 11:08:41 2012 -0700
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Fri Mar 16 11:08:41 2012 -0700

----------------------------------------------------------------------
 CordovaLib/Makefile |   31 ++++---------------------------
 1 files changed, 4 insertions(+), 27 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/191158ab/CordovaLib/Makefile
----------------------------------------------------------------------
diff --git a/CordovaLib/Makefile b/CordovaLib/Makefile
index 9b49ed5..5df0c5f 100644
--- a/CordovaLib/Makefile
+++ b/CordovaLib/Makefile
@@ -36,35 +36,12 @@ OPEN = open
 JAVA = java
 ECHO = echo
 ECHO_N = echo -n
-CDV_JS_CORE = javascripts/core
 CDV_VER = $(shell head -1 VERSION)
 
-all :: javascripts/cordova-$(CDV_VER).js
+all :: javascript/cordova-$(CDV_VER).js
 
-javascripts/cordova-$(CDV_VER).js: clean $(CDV_JS_CORE)/license.js $(CDV_JS_CORE)/cordova.js.base
$(CDV_JS_CORE)/acceleration.js $(CDV_JS_CORE)/accelerometer.js $(CDV_JS_CORE)/battery.js $(CDV_JS_CORE)/camera.js
$(CDV_JS_CORE)/capture.js $(CDV_JS_CORE)/contact.js $(CDV_JS_CORE)/debugconsole.js $(CDV_JS_CORE)/device.js
$(CDV_JS_CORE)/file.js $(CDV_JS_CORE)/filetransfer.js $(CDV_JS_CORE)/geolocation.js $(CDV_JS_CORE)/compass.js
$(CDV_JS_CORE)/media.js $(CDV_JS_CORE)/notification.js $(CDV_JS_CORE)/orientation.js $(CDV_JS_CORE)/position.js
$(CDV_JS_CORE)/sms.js $(CDV_JS_CORE)/telephony.js $(CDV_JS_CORE)/network.js $(CDV_JS_CORE)/splashscreen.js
-	$(RM_F) $@
-	$(CAT) $(CDV_JS_CORE)/license.js | sed 's/{VERSION}/$(CDV_VER)/' >> $@
-	$(CAT) $(CDV_JS_CORE)/cordova.js.base >> $@
-	$(CAT) $(CDV_JS_CORE)/debugconsole.js >> $@
-	$(CAT) $(CDV_JS_CORE)/position.js >> $@
-	$(CAT) $(CDV_JS_CORE)/acceleration.js >> $@
-	$(CAT) $(CDV_JS_CORE)/accelerometer.js >> $@
-	$(CAT) $(CDV_JS_CORE)/battery.js >> $@
-	$(CAT) $(CDV_JS_CORE)/camera.js >> $@
-	$(CAT) $(CDV_JS_CORE)/device.js >> $@
-	$(CAT) $(CDV_JS_CORE)/capture.js >> $@
-	$(CAT) $(CDV_JS_CORE)/contact.js >> $@
-	$(CAT) $(CDV_JS_CORE)/file.js >> $@
-	$(CAT) $(CDV_JS_CORE)/filetransfer.js >> $@
-	$(CAT) $(CDV_JS_CORE)/geolocation.js >> $@
-	$(CAT) $(CDV_JS_CORE)/compass.js >> $@
-	$(CAT) $(CDV_JS_CORE)/media.js >> $@
-	$(CAT) $(CDV_JS_CORE)/notification.js >> $@
-	$(CAT) $(CDV_JS_CORE)/orientation.js >> $@
-	$(CAT) $(CDV_JS_CORE)/sms.js >> $@
-	$(CAT) $(CDV_JS_CORE)/telephony.js >> $@
-	$(CAT) $(CDV_JS_CORE)/network.js >> $@
-	$(CAT) $(CDV_JS_CORE)/splashscreen.js >> $@
+javascript/cordova-$(CDV_VER).js: clean
+	$(CP) javascript/cordova.ios.js $@
 	
 clean:
-	$(RM_F) javascripts/cordova-*.js
\ No newline at end of file
+	$(RM_F) javascript/cordova-*.js


Mime
View raw message