Bug 746382 - save a copy of whatever mozconfig you used into $OBJDIR/.mozconfig to make it easier to automate rebuilds. r=khuey
authorSteve Fink <sfink@mozilla.com>
Tue, 17 Apr 2012 16:10:23 -0700
changeset 92250 6c39b78d67c0df0e6c4523e0c0308f3cbdf3f91d
parent 92249 a04734d243c8192b6c5e29fc9eef63ace4cf46cd
child 92251 4811711ec8b75a497833a224f138be904e466fe3
push id8626
push usersfink@mozilla.com
push dateTue, 24 Apr 2012 22:02:10 +0000
treeherdermozilla-inbound@6c39b78d67c0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs746382
milestone14.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 746382 - save a copy of whatever mozconfig you used into $OBJDIR/.mozconfig to make it easier to automate rebuilds. r=khuey
client.mk
--- a/client.mk
+++ b/client.mk
@@ -319,18 +319,22 @@ else
 endif
 
 configure-files: $(CONFIGURES)
 
 configure-preqs = \
   configure-files \
   $(call mkdir_deps,$(OBJDIR)) \
   $(if $(MOZ_BUILD_PROJECTS),$(call mkdir_deps,$(MOZ_OBJDIR))) \
+  save-mozconfig \
   $(NULL)
 
+save-mozconfig:
+	-cp $(FOUND_MOZCONFIG) $(OBJDIR)/.mozconfig
+
 configure:: $(configure-preqs)
 	@echo cd $(OBJDIR);
 	@echo $(CONFIGURE) $(CONFIGURE_ARGS)
 	@cd $(OBJDIR) && $(BUILD_PROJECT_ARG) $(CONFIGURE_ENV_ARGS) $(CONFIGURE) $(CONFIGURE_ARGS) \
 	  || ( echo "*** Fix above errors and then restart with\
                \"$(MAKE) -f client.mk build\"" && exit 1 )
 	@touch $(OBJDIR)/Makefile