Bug 543469 - Remove compiled python objects from automation during 'make clean' [r=ted.mielczarek]
authorMike Hommey <mh+mozilla@glandium.org>
Mon, 19 Apr 2010 10:17:51 +0200
changeset 41007 169cd7cf6a333ed62cb4d105bd66aa94d2eeb69f
parent 41006 cc7dda8df7780e6a6eaf50ec6e6afcf4eeed14ce
child 41008 07187a238dfe195e784205a3ebceff49907420ed
push id12882
push usermh@glandium.org
push dateTue, 20 Apr 2010 07:42:08 +0000
treeherdermozilla-central@d10d49ee252d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted.mielczarek
bugs543469
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
Bug 543469 - Remove compiled python objects from automation during 'make clean' [r=ted.mielczarek]
build/Makefile.in
build/automation-build.mk
--- a/build/Makefile.in
+++ b/build/Makefile.in
@@ -193,9 +193,11 @@ check::
           echo "TEST-PASS | build/ | unify unified files with differing line ordering!"; \
         fi
 endif
 
 ifeq ($(OS_ARCH),Linux)
 libs:: $(topsrcdir)/tools/rb/fix-linux-stack.pl
 	$(INSTALL) $< $(DIST)/bin
 endif
+
+GARBAGE += automationutils.pyc
 endif # ENABLE_TESTS
--- a/build/automation-build.mk
+++ b/build/automation-build.mk
@@ -73,9 +73,9 @@ AUTOMATION_PPARGS += -DCRASHREPORTER=1
 else
 AUTOMATION_PPARGS += -DCRASHREPORTER=0
 endif
 
 automation.py: $(MOZILLA_DIR)/build/automation.py.in $(MOZILLA_DIR)/build/automation-build.mk
 	$(PYTHON) $(MOZILLA_DIR)/config/Preprocessor.py \
 	$(AUTOMATION_PPARGS) $(DEFINES) $(ACDEFINES) $< > $@
 
-GARBAGE += automation.py
+GARBAGE += automation.py automation.pyc