summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Drung <bdrung@ubuntu.com>2010-01-08 02:07:47 +0100
committerBenjamin Drung <bdrung@ubuntu.com>2010-01-08 02:07:47 +0100
commit5134d926e00020ae4d654bd70c6868011b7c43b8 (patch)
treeb247c035a0d336b64e23e439ab417c611410a963 /src
parent53ad5bd0076f0fe821cb5103c68414993af92cc8 (diff)
- add new MOZ_XPI_INSTALL_DIRECTORY variable
- update src/xpi.mk
Diffstat (limited to 'src')
-rw-r--r--src/xpi.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/xpi.mk b/src/xpi.mk
index a929c45..d7e8467 100644
--- a/src/xpi.mk
+++ b/src/xpi.mk
@@ -65,6 +65,11 @@
# permission of the files will be set to 644 and the permissions
# of scripts (files containing a shebang) will be set to 755.
#
+# MOZ_XPI_INSTALL_DIRECTORY (OPTIONAL):
+# The xpi file will be installed in the specified directory.
+# This directory must be an absolute path. Use this parameter
+# with care.
+#
# Unused variables (can be removed):
#
# MOZ_XPI_EMID (OPTIONAL):
@@ -88,6 +93,10 @@ ifneq (,$(MOZ_XPI_PRESERVE_PERMISSIONS))
install_xpi_extra_parameter += --preserve-permissions
endif
+ifneq (,$(MOZ_XPI_INSTALL_DIRECTORY))
+install_xpi_extra_parameter += -i $(MOZ_XPI_INSTALL_DIRECTORY)
+endif
+
ifeq ($(origin MOZ_XPI_DOCUMENTED_LICENSE_FILES),undefined)
install_xpi_extra_parameter += --remove-license-files
else