Bug 917753 - Add XPIDL files to clean target; r=glandium
authorGregory Szorc <gps@mozilla.com>
Fri, 11 Oct 2013 07:32:49 -0700
changeset 150491 19978aab0190f9c8bf5055fabda11f160cf2d22a
parent 150490 05693539cfe621065d69f236252f9741eb3095b2
child 150492 1e935a380fb253c7bdb59c21914e392c33106258
push id3001
push userryanvm@gmail.com
push dateFri, 11 Oct 2013 21:03:10 +0000
treeherderfx-team@9ab188de8245 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs917753
milestone27.0a1
Bug 917753 - Add XPIDL files to clean target; r=glandium
config/makefiles/xpidl/Makefile.in
xpcom/xpidl/Makefile.in
--- a/config/makefiles/xpidl/Makefile.in
+++ b/config/makefiles/xpidl/Makefile.in
@@ -52,15 +52,17 @@ idlprocess := $(PYTHON_PATH) $(PLY_INCLU
 
 xpidl_modules := @xpidl_modules@
 
 @xpidl_rules@
 
 linked_xpt_files := $(addprefix $(idl_xpt_dir)/,$(addsuffix .xpt,$(xpidl_modules)))
 depends_files := $(foreach root,$(xpidl_modules),$(idl_deps_dir)/$(root).pp)
 
+GARBAGE += $(linked_xpt_files) $(depends_files)
+
 xpidl:: $(linked_xpt_files)
 
 $(linked_xpt_files): $(process_py) $(call mkdir_deps,$(idl_deps_dir) $(dist_include_dir) $(idl_xpt_dir))
 
 $(call include_deps,$(depends_files))
 
 .PHONY: xpidl
--- a/xpcom/xpidl/Makefile.in
+++ b/xpcom/xpidl/Makefile.in
@@ -1,8 +1,11 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 export::
 	$(call SUBMAKE,xpidl-parser,$(DEPTH)/xpcom/idl-parser)
 	$(call py_action,process_install_manifest,$(DIST)/idl $(DEPTH)/_build_manifests/install/dist_idl)
 	$(call SUBMAKE,xpidl,$(DEPTH)/config/makefiles/xpidl)
+
+clean clobber realclean clobber_all distclean::
+	$(call SUBMAKE,$@,$(DEPTH)/config/makefiles/xpidl)