Add Vcs-Git and Vcs-Browser to debian/control
[greasemonkey-debian.git] / build.sh
blob239d6c0d556fbd5a0ef94199aebd793e200849ac
1 #!/bin/sh
3 rm -rf build
4 mkdir build
5 cp chrome.manifest build/
6 cp install.js build/
7 cp install.rdf build/
8 cp license.txt build/
9 cp -r components build/
10 cp -r chrome build/
11 cd build
13 # Generate locales for chrome.manifest from babelzilla directories, which
14 # we assume have been placed in locale/.
15 for entry in $(ls chrome/chromeFiles/locale/)
17 echo "locale greasemonkey "$entry" chrome/chromeFiles/locale/"$entry"/" >> chrome.manifest
18 done
20 find * | grep -v 'CVS' | grep -v '\.svn' | grep -v ~$ | grep -v '#' | grep -v .DS_Store | zip greasemonkey.xpi -@
21 mv greasemonkey.xpi ../