move mobile versions out of confvars.sh, and into *-version.txt. bug 535304, r=mfinkle
authorAki Sasaki <asasaki@mozilla.com>
Wed, 13 Jan 2010 13:25:51 -0800
changeset 65966 7790c4490c29a4d2686a59a6585c71a16cd0c131
parent 65965 a88a7f34aaa018940886b572350b4e0ab8350048
child 65967 64c201fe99e80c017fb0299a9641c131383cf696
push idunknown
push userunknown
push dateunknown
reviewersmfinkle
bugs535304
move mobile versions out of confvars.sh, and into *-version.txt. bug 535304, r=mfinkle
mobile/confvars.sh
mobile/default-version.txt
mobile/winmo-version.txt
--- a/mobile/confvars.sh
+++ b/mobile/confvars.sh
@@ -38,20 +38,20 @@
 MOZ_APP_NAME=fennec
 MOZ_BRANDING_DIRECTORY=mobile/branding/nightly
 MOZ_OFFICIAL_BRANDING_DIRECTORY=mobile/branding/official
 
 # MOZ_APP_DISPLAYNAME is set by branding/configure.sh
 
 case "$target" in
 *-wince*)
-    MOZ_APP_VERSION=1.0a4pre
+    . ${srcdir}/${MOZ_BUILD_APP}/winmo-version.txt
     ;;
 *)
-    MOZ_APP_VERSION=1.1a1pre
+    . ${srcdir}/${MOZ_BUILD_APP}/default-version.txt
     ;;
 esac
 
 MOZ_XUL_APP=1
 MOZ_UPDATER=0
 MOZ_ENABLE_LIBXUL=1
 MOZ_NO_XPCOM_OBSOLETE=1
 MOZ_XULRUNNER=1
new file mode 100644
--- /dev/null
+++ b/mobile/default-version.txt
@@ -0,0 +1,1 @@
+MOZ_APP_VERSION=1.1a1pre
new file mode 100644
--- /dev/null
+++ b/mobile/winmo-version.txt
@@ -0,0 +1,1 @@
+MOZ_APP_VERSION=1.0a4pre