Bug 375189 use $(MAKE) instead of make in makefilespatch by Marco Perez <bugmail@millibyte.net> r=bsmedberg
authorcbiesinger@web.de
Sat, 31 Mar 2007 12:37:51 -0700
changeset 247 ba87715db7da1b5c9f07e247bbbb44135e20588d
parent 246 75749830b1602924be12ff902dcf1cd4002f669d
child 248 32454a9197200fb435a992dc49b80aff1ce4118c
push idunknown
push userunknown
push dateunknown
reviewersbsmedberg
bugs375189
milestone1.9a4pre
Bug 375189 use $(MAKE) instead of make in makefilespatch by Marco Perez <bugmail@millibyte.net> r=bsmedberg
config/rules.mk
extensions/java/xpcom/Makefile.in
--- a/config/rules.mk
+++ b/config/rules.mk
@@ -836,17 +836,17 @@ run_viewer: $(FINAL_TARGET)/viewer
 	cd $(FINAL_TARGET); \
 	MOZILLA_FIVE_HOME=`pwd` \
 	LD_LIBRARY_PATH=".:$(LIBS_PATH):$$LD_LIBRARY_PATH" \
 	viewer
 
 clean clobber realclean clobber_all:: $(SUBMAKEFILES)
 	-rm -f $(ALL_TRASH)
 	-rm -rf $(ALL_TRASH_DIRS)
-	+-$(foreach dir,$(STATIC_DIRS),make -C $(dir) $@; )
+	+-$(foreach dir,$(STATIC_DIRS),$(MAKE) -C $(dir) $@; )
 	+-$(LOOP_OVER_DIRS)
 	+-$(LOOP_OVER_TOOL_DIRS)
 
 distclean:: $(SUBMAKEFILES)
 	+-$(LOOP_OVER_DIRS)
 	+-$(LOOP_OVER_TOOL_DIRS)
 	-rm -rf $(ALL_TRASH_DIRS) 
 	-rm -f $(ALL_TRASH)  \
--- a/extensions/java/xpcom/Makefile.in
+++ b/extensions/java/xpcom/Makefile.in
@@ -46,12 +46,12 @@ DIRS = interfaces glue
 ifdef ENABLE_TESTS
 DIRS += tests
 endif
 
 include $(topsrcdir)/config/rules.mk
 
 # Build the implementation Java classes
 libs::
-	make -C src jar-libs
+	$(MAKE) -C src jar-libs
 
 install::
-	make -C src jar-install
+	$(MAKE) -C src jar-install