diff options
author | Benjamin Drung <bdrung@ubuntu.com> | 2009-09-13 21:00:35 +0200 |
---|---|---|
committer | Benjamin Drung <bdrung@ubuntu.com> | 2009-09-13 21:00:35 +0200 |
commit | a6e43cd10a84072e0149ac08f9638ae46254a5ea (patch) | |
tree | 232bfe2230f4854185947cf8f60a44ec7ef0950e /src/xpi.mk | |
parent | e91751724cf51f751938cc96ca2babd89ddca704 (diff) |
- add MOZ_XPI_PREPACKED parameter to support source packages containing
a prepacked xpi file, which will not be rebuild from source
- update src/xpi.mk
Diffstat (limited to 'src/xpi.mk')
-rw-r--r-- | src/xpi.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -59,6 +59,10 @@ # license files in debian/copyright appropriately. If not defined # the common license file names are tried. # +# MOZ_XPI_PREPACKED (OPTIONAL): +# set this variable to 1, if the source tarball contains the xpi +# file and if the xpi file will not be build from source +# # Deprecated variables: # # MOZ_XPI_MOZILLA_DIRS /deprecated/ (OPTIONAL/NODEFAULT - see "Note:"): @@ -150,7 +154,9 @@ CHECK_VERSION = $(shell \ MOZ_EXTENSION_PKG ?= $(strip $(shell grep ^Package: debian/control | head -n 1 | sed "s/^Package://")) +ifneq ($(MOZ_XPI_PREPACKED),1) MOZ_XPI_BUILD_COMMAND ?= med-xpi-pack $(CURDIR) $(MOZ_EXTENSION_PKG).xpi; +endif MOZ_XPI_DOCUMENTED_LICENSE_FILES ?= $(strip $(shell find * -iname copying -o -iname licen[cs]e -o -iname licen[cs]e.txt)) |