Bug 861178 - Don't purge dist/ data during the MOZ_PROFILE_USE pass of a PGO build. r=ted
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 12 Apr 2013 16:03:06 +0200
changeset 128599 1c690be319397711796ea3cc0618f1fcacb658fb
parent 128598 e8fc37e738443df97da54d16c16be1033849c635
child 128600 505c6b2c7f660584545427b659690d70be783276
child 128649 2aff2d574a1ea7be87ddbbd8426d45375f364358
push id26408
push userryanvm@gmail.com
push dateFri, 12 Apr 2013 14:24:32 +0000
treeherdermozilla-inbound@1c690be31939 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs861178
milestone23.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 861178 - Don't purge dist/ data during the MOZ_PROFILE_USE pass of a PGO build. r=ted
Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -30,23 +30,25 @@ include $(topsrcdir)/config/config.mk
 
 GARBAGE_DIRS += dist _javagen _profile _tests staticlib
 DIST_GARBAGE = config.cache config.log config.status* config-defs.h \
    config/autoconf.mk \
    unallmakefiles mozilla-config.h \
    netwerk/necko-config.h xpcom/xpcom-config.h xpcom/xpcom-private.h \
    $(topsrcdir)/.mozconfig.mk $(topsrcdir)/.mozconfig.out
 
+ifndef MOZ_PROFILE_USE
 default alldep all:: CLOBBER $(topsrcdir)/configure config.status
 	$(RM) -r $(DIST)/sdk
 	$(RM) -r $(DIST)/include
 	$(RM) -r $(DIST)/private
 	$(RM) -r $(DIST)/public
 	$(RM) -r $(DIST)/bin
 	$(RM) -r _tests
+endif
 
 CLOBBER: $(topsrcdir)/CLOBBER
 	@echo "STOP!  The CLOBBER file has changed."
 	@echo "Please run the build through a sanctioned build wrapper, such as"
 	@echo "'mach build' or client.mk."
 	@exit 1
 
 $(topsrcdir)/configure: $(topsrcdir)/configure.in