summaryrefslogtreecommitdiff
path: root/src/mozclient.mk.in
diff options
context:
space:
mode:
authorFabien Tassin <fta@ubuntu.com>2008-09-17 20:01:29 +0200
committerFabien Tassin <fta@ubuntu.com>2008-09-17 20:01:29 +0200
commitb8eae4e3bad5804dc60e764402f7d65f5624d88a (patch)
treef5ba7c2b7d0cc5cf237c62fed1e43721653669b8 /src/mozclient.mk.in
parent1ba1beff87b960a6810b6c1925afec5f459419d1 (diff)
* [ mozclient ] add support for external project files helping adoption
of mozilla-devscripts by downstream. Introduce MOZCLIENT_PROJECTDIR. - update README - update src/mozclient.mk.in
Diffstat (limited to 'src/mozclient.mk.in')
-rw-r--r--src/mozclient.mk.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mozclient.mk.in b/src/mozclient.mk.in
index 3c4b747..5613585 100644
--- a/src/mozclient.mk.in
+++ b/src/mozclient.mk.in
@@ -53,6 +53,14 @@ ifdef MOZ_CO_MODULE
ARGS += -m $(MOZ_CO_MODULE)
endif
+ifdef MOZCLIENT_PROJECTDIR
+ ARGS += -c $(MOZCLIENT_PROJECTDIR)
+endif
+
+ifeq (,$(MOZCLIENT_PROJECTNAME))
+$(error You must specify MOZCLIENT_PROJECTNAME)
+endif
+
list-tags:
perl $(MOZDEVSCRIPT_DIR)/mozclient.pl$(EXT) -l $(MOZCLIENT_PROJECTNAME)