version stamping. I don't know how to use the cvs version macro yet
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 16 Jul 2005 00:06:47 +0000 (00:06 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 16 Jul 2005 00:06:47 +0000 (00:06 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1227 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/Makefile
Evergreen/staff_client/application.ini
Evergreen/staff_client/chrome/locale/en-US/evergreen/auth.dtd
Evergreen/staff_client/install.rdf

index ed79ec6..22545ba 100644 (file)
@@ -1,3 +1,8 @@
+VERSION=0.0.9
+PACKAGE=Evergreen
+DESCRIPTION=Evergreen Staff Client Pre-Alpha
+BUILD=2005071519
+
 ILS_DIR=${PWD}/../..
 
 RETRIEVE_FIELDMAPPER=wget -N http://gapines.org/js/util/fieldmapper.js
@@ -7,8 +12,21 @@ RETRIEVE_CLIENT_CONFIG=cp ${ILS_DIR}/OpenSRF/examples/math_xul_client/math/conte
 all: evergreen.xpi
        @echo
        @echo How do makefiles work again?
+       @echo BUILD = ${BUILD}
        touch application.ini
 
+stamp: 
+       sed -i s/^Version=.\*/Version=${VERSION}/ application.ini 
+       sed -i s/^BuildID=.\*/BuildID=${BUILD}/ application.ini
+       sed -i s/^Name=.\*/Name=${PACKAGE}/ application.ini 
+       sed -i 's/<em:version>.*<\/em:version>/<em:version>${VERSION}<\/em:version>/' install.rdf 
+       sed -i 's/<em:name>.*<\/em:name>/<em:name>${PACKAGE}<\/em:name>/' install.rdf 
+       sed -i 's/<em:description>.*<\/em:description>/<em:description>${DESCRIPTION}<\/em:description>/' install.rdf 
+       sed -i "s/extVersion: '.\*'/extVersion: '${VERSION}'/" install.js 
+       sed -i "s/extFullName: '.\*'/extFullName: '${DESCRIPTION}'/" install.js 
+       sed -i 's/auth\.title ".*"/auth\.title "${DESCRIPTION}"/' chrome/locale/en-US/evergreen/auth.dtd 
+       sed -i 's/auth\.version ".*"/auth\.version "${VERSION} ${BUILD}"/' chrome/locale/en-US/evergreen/auth.dtd 
+
 generated:
        @echo
        @echo These things are installation specific.  The staff client is the last thing you should try to build.
index 5a2d975..a037ae6 100644 (file)
@@ -10,11 +10,11 @@ Vendor=PINES
 Name=Evergreen
 ;
 ; This field specifies your application's version.  This field is optional.
-Version=0.0.4
+Version=0.0.9
 ;
 ; This field specifies your application's build ID (timestamp).  This field is
 ; required.
-BuildID=2005061716
+BuildID=2005071519
 ;
 ; This field specifies a compact copyright notice for your application.  This
 ; field is optional.
index 0a4d604..0bdf154 100644 (file)
@@ -1,5 +1,5 @@
-<!ENTITY auth.title "Evergreen Staff Client - Login">
-<!ENTITY auth.version "Pre-Alpha Public Demo 0.0.3d">
+<!ENTITY auth.title "Evergreen Staff Client Pre-Alpha">
+<!ENTITY auth.version "0.0.9 2005071519">
 
 <!ENTITY auth.login_header "Login">
 <!ENTITY auth.name_prompt "Name:"><!ENTITY auth.name_prompt.key "N">
index 2254fb5..8bd37fa 100755 (executable)
@@ -7,7 +7,7 @@
 
        <Description about="urn:mozilla:install-manifest">
                <em:id>{c3dd711b-c9b4-4785-b8f8-6157149c8905}</em:id>
-               <em:version>0.0.4</em:version>
+               <em:version>0.0.9</em:version>
                <em:type>2</em:type>
 
                <!-- Target Application this extension can install into, 
@@ -31,7 +31,7 @@
        
                <!-- Front End MetaData -->
                <em:name>Evergreen</em:name>
-               <em:description>PINES ILS Evergreen Staff Client</em:description>
+               <em:description>Evergreen Staff Client Pre-Alpha</em:description>
         
                <em:homepageURL>http://open-ils.org/</em:homepageURL>