diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xpi.mk | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |