diff options
author | Benjamin Drung <bdrung@ubuntu.com> | 2010-01-08 02:07:47 +0100 |
---|---|---|
committer | Benjamin Drung <bdrung@ubuntu.com> | 2010-01-08 02:07:47 +0100 |
commit | 5134d926e00020ae4d654bd70c6868011b7c43b8 (patch) | |
tree | b247c035a0d336b64e23e439ab417c611410a963 /src/xpi.mk | |
parent | 53ad5bd0076f0fe821cb5103c68414993af92cc8 (diff) |
- add new MOZ_XPI_INSTALL_DIRECTORY variable
- update src/xpi.mk
Diffstat (limited to 'src/xpi.mk')
-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 |