major source structure and module name change - continue4
This commit is contained in:
37
BrowserExtensions/mk-linuxxpi.sh
Executable file
37
BrowserExtensions/mk-linuxxpi.sh
Executable file
@@ -0,0 +1,37 @@
|
||||
#make the .so library (xpcom)
|
||||
cd linux/src
|
||||
make
|
||||
cd ../..
|
||||
|
||||
#copy all files to a temp directory
|
||||
rm -rf temp
|
||||
mkdir temp
|
||||
cp -r common temp
|
||||
cp -r linux temp
|
||||
cd temp
|
||||
|
||||
#remove all svn stuff
|
||||
echo 'Removing svn stuff'
|
||||
find . -name "*svn*" |xargs rm -rf
|
||||
|
||||
#build the casa.jar
|
||||
cd common/casajar
|
||||
zip -rD casa.jar *
|
||||
mv casa.jar ../.
|
||||
|
||||
#copy files to correct location
|
||||
cd ../..
|
||||
cp linux/src/MiCASAKeys.so linux/xpi/components/.
|
||||
cp common/casa.jar linux/xpi/chrome/.
|
||||
|
||||
#now zip up the xpi
|
||||
cd linux/xpi
|
||||
echo 'creating XPI'
|
||||
zip -rD casa4linux.xpi *
|
||||
|
||||
# copy xpi to extensions folder
|
||||
cp casa4linux.xpi ../../../.
|
||||
cd ../../..
|
||||
|
||||
echo 'Done'
|
||||
|
||||
Reference in New Issue
Block a user