Bug 746020. (Av1) Use MOZ_APP_VERSION and MOZ_APP_MAXVERSION for SeaMonkey debugQA extension. r+a=Callek.
authorSerge Gautherie <sgautherie.bz@free.fr>
Tue, 17 Apr 2012 17:00:03 +0200
changeset 10737 bb33852f90ed88a8d2f16399dde7bf4b66de4d0f
parent 10736 dafccb53c4925bdea6731c90fd7bbf24da17b0ab
child 10738 7748e000cbeb155c17a060802ce26e5a1c6d41f9
push idunknown
push userunknown
push dateunknown
bugs746020
Bug 746020. (Av1) Use MOZ_APP_VERSION and MOZ_APP_MAXVERSION for SeaMonkey debugQA extension. r+a=Callek.
suite/debugQA/Makefile.in
suite/debugQA/install.rdf
--- a/suite/debugQA/Makefile.in
+++ b/suite/debugQA/Makefile.in
@@ -50,12 +50,13 @@ USE_EXTENSION_MANIFEST = 1
 INSTALL_EXTENSION_ID   = debugQA@mozilla.org
 XPI_PKGNAME            = debugQA-$(MOZ_APP_VERSION)
 
 DIST_FILES = install.rdf
 
 DIRS = locales
 
 XULAPP_DEFINES = \
-    -DSEAMONKEY_VERSION=$(SEAMONKEY_VERSION) \
+    -DMOZ_APP_VERSION=$(MOZ_APP_VERSION) \
+    -DMOZ_APP_MAXVERSION=$(MOZ_APP_MAXVERSION) \
     $(NULL)
 
 include $(topsrcdir)/config/rules.mk
--- a/suite/debugQA/install.rdf
+++ b/suite/debugQA/install.rdf
@@ -7,24 +7,24 @@
   <Description about="urn:mozilla:install-manifest">
     <em:id>debugQA@mozilla.org</em:id>
     <em:version>1.0pre</em:version>
 
     <em:targetApplication>
       <!-- Suite -->
       <Description>
         <em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</em:id>
-        <em:minVersion>2.0a</em:minVersion>
-        <em:maxVersion>@SEAMONKEY_VERSION@</em:maxVersion>
+        <em:minVersion>@MOZ_APP_VERSION@</em:minVersion>
+        <em:maxVersion>@MOZ_APP_MAXVERSION@</em:maxVersion>
       </Description>
     </em:targetApplication>
-    
+
     <!-- EXTENSION AUTHORS!
          DO NOT COPY THIS PROPERTY INTO YOUR INSTALL RDF FILES
-         It will cause users not to be informed of incompatibilities 
+         It will cause users not to be informed of incompatibilities
          with your extension when they are updated with Software Update
          and your extension will become unavailable to them!
          -->
     <em:appManaged>true</em:appManaged>
 
     <!-- front-end metadata -->
     <em:name>SeaMonkey Debug and QA UI</em:name>
     <em:description>Provides Additional Debug and QA UI for SeaMonkey development</em:description>