Bug 656049 - Make sure to run client.py only once per make invocation r=Callek
authorPhilippe M. Chiasson <gozer@mozilla.com>
Thu, 01 Sep 2011 15:04:26 -0400
changeset 9093 9dbeb66df9ab3286fd15ff043a4a31c338a3b2e9
parent 9092 d0a085ce5b7854e7858f1f76d3b1a2ca9ddb58b8
child 9094 ed9d5de23537f38a51532760e5ba8e29eeb12ee9
push idunknown
push userunknown
push dateunknown
reviewersCallek
bugs656049
Bug 656049 - Make sure to run client.py only once per make invocation r=Callek
client.mk
--- a/client.mk
+++ b/client.mk
@@ -171,19 +171,21 @@ CONFIGURES += $(TOPSRCDIR)/mozilla/js/sr
 #######################################################################
 # Rules
 
 # The default rule is build
 build::
 
 # These targets are candidates for auto-running client.py
 ifdef  ALWAYS_RUN_CLIENT_PY
+ifeq (0,${MAKELEVEL})
 build::                      run_client_py
 configure::                  run_client_py
 endif
+endif
 
 
 # Print out any options loaded from mozconfig.
 all build clean depend distclean export libs install realclean::
 	@if test -f .mozconfig.out; then \
 	  cat .mozconfig.out; \
 	  rm -f .mozconfig.out; \
 	else true; \