5 @echo We need the OpenSRF javascript code...
6 mkdir math/content/OpenSRF/
7 cp ../../src/javascript/*.js math/content/OpenSRF/
8 @echo We need a log directory...
10 touch math/content/log/preserve.directory.when.zipping
11 @echo We also need a math/content/conf/client_config.xml pointing to a running OpenSRF Math application.
12 @echo Then we package this into a Mozilla XPI file...
13 zip -q -r math.xpi install.js math/
14 @echo After installing the XPI, use the chrome URL:
15 @echo chrome://math/content/
18 @echo Removing the OpenSRF javascript code, the log directory, and math.xpi...
19 rm -rf math/content/OpenSRF/ math/content/log math.xpi