[Pkg-mozext-commits] [requestpolicy] 199/280: `make run`: allow additional args via `moz_args`
David Prévot
taffit at moszumanska.debian.org
Sat May 2 20:30:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository requestpolicy.
commit 0ef39291957eecced714165214ebd7216413a1f8
Author: Martin Kimmerle <dev at 256k.de>
Date: Sat Jan 31 20:31:38 2015 +0100
`make run`: allow additional args via `moz_args`
usage example:
make run moz_args='-a additionalAddon.xpi'
---
Makefile | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index f74f4e0..dc08c9d 100644
--- a/Makefile
+++ b/Makefile
@@ -168,10 +168,15 @@ $(deleted_files): FORCE
# run firefox
#
+# arguments for mozrunner
+mozrunner_args := -a $(xpi_file)
+mozrunner_args += -b $(app_binary)
+mozrunner_args += --preferences=$(mozrunner_prefs_ini):dev
+mozrunner_args += $(moz_args)
+
.PHONY: run
run: $(xpi_file)
- mozrunner -a $(xpi_file) -b $(app_binary) \
- --preferences=$(mozrunner_prefs_ini):dev
+ mozrunner $(mozrunner_args)
# ____________
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git
More information about the Pkg-mozext-commits
mailing list