+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
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.
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.
-<!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">
<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,
<!-- 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>