|
2
by Jared Greenwald
* initial checkin |
1 |
#!/usr/bin/make -f
|
2 |
||
3 |
# name the package (as in debian/control) that will ship the extension
|
|
4 |
MOZ_EXTENSION_PKG := mozgest |
|
5 |
||
6 |
# xpi.mk will auto detect the .xpi in your package. if you want to do it
|
|
7 |
# explicit, use this variable
|
|
8 |
#MOZ_XPI_FILE := yourextension.xpi
|
|
9 |
||
10 |
# xpi.mk tries to auto detect the extension manager id (em:id) from the .xpis
|
|
11 |
# install.rdf file. There might be cases where this doesn't work. use the following
|
|
12 |
# variable to explicitly define an extension ID and disable auto detection
|
|
13 |
#MOZ_EM_ID := {xxxxxxx-xxxx-xxxx}
|
|
14 |
||
15 |
# xpi.mk will run a build command before packaging an .xpi file. you can use this
|
|
16 |
# to produce an .xpi. if you define this, the clean rule will remove any .xpi file
|
|
17 |
# found in the top level directory
|
|
|
3
by Jared Greenwald
* exclude the debian directory |
18 |
MOZ_XPI_BUILD_COMMAND = zip -r mozgest.xpi . -x debian/* -x debian/ |
|
2
by Jared Greenwald
* initial checkin |
19 |
|
20 |
include /usr/share/cdbs/1/rules/debhelper.mk |
|
21 |
include /usr/share/mozilla-devscripts/xpi.mk |
|
22 |