Bug 1415335 - Remove clobber target; r?Build draft
authorGregory Szorc <gps@mozilla.com>
Mon, 30 Oct 2017 17:27:06 -0700
changeset 694655 1109816b92b73f5f4011594fc2b03f5330610a18
parent 694654 795b850fb336200bf7383fc6b33c860d174775d3
child 739383 25646c24d972d3b9dbfd2b5d4c8dae30e57ebcb6
push id88184
push userbmo:gps@mozilla.com
push dateWed, 08 Nov 2017 01:21:12 +0000
reviewersBuild
bugs1415335
milestone58.0a1
Bug 1415335 - Remove clobber target; r?Build It was just an alias for "clean," which is proxied to the root Makefile. `mach clobber` should be used instead. MozReview-Commit-ID: A8tHaNb7H1z
client.mk
--- a/client.mk
+++ b/client.mk
@@ -145,19 +145,16 @@ include $(OBJDIR)/.mozconfig.mk
 
 # Print out any options loaded from mozconfig.
 all build clean distclean export libs install realclean::
 ifneq (,$(strip $(MOZCONFIG_OUT_FILTERED)))
 	$(info Adding client.mk options from $(FOUND_MOZCONFIG):)
 	$(foreach line,$(MOZCONFIG_OUT_FILTERED),$(info $(NULL) $(NULL) $(NULL) $(NULL) $(subst ||, ,$(line))))
 endif
 
-# Windows equivalents
-clobber: clean
-
 # helper target for mobile
 build_and_deploy: build package install
 
 #####################################################
 # Preflight, before building any project
 
 ifdef MOZ_PREFLIGHT_ALL
 build preflight_all::
@@ -304,13 +301,12 @@ echo-variable-%:
 
 # This makefile doesn't support parallel execution. It does pass
 # MOZ_MAKE_FLAGS to sub-make processes, so they will correctly execute
 # in parallel.
 .NOTPARALLEL:
 
 .PHONY: \
     build \
-    clobber \
     configure \
     preflight_all \
     postflight_all \
     $(OBJDIR_TARGETS)