Remove all generated Makefiles upon distclean. NSPRPUB_PRE_4_2_CLIENT_BRANCH
authorcls%seawood.org
Fri, 28 Apr 2006 18:48:26 +0000
branchNSPRPUB_PRE_4_2_CLIENT_BRANCH
changeset 3649 0653092607cccdb77a4bf916dd21d3d21b1d2d8b
parent 3646 6db96d346238a0d9a9c71e9775e6117eb0258473
child 3650 40517ea0cf2fbcd705d49b22c05d9ff1d22fad9b
child 3658 42cb891b9e2af5056d2bd274e869f444837fb14e
push idunknown
push userunknown
push dateunknown
bugs333308
Remove all generated Makefiles upon distclean. Thanks to Mike Hommey <mh+mozilla@glandium.org> for the patch. Bug #333308 r=cls
Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -80,16 +80,17 @@ ifeq ($(OS_ARCH),WINNT)
 ZIP_ASCII_OPT = -ll
 endif
 
 # Delete config/autoconf.mk last because it is included by every makefile.
 distclean::
 	@echo "cd pr/tests; $(MAKE) $@"
 	@$(MAKE) -C pr/tests $@
 	rm -f config/autoconf.mk
+	rm -f `cat unallmakefiles` unallmakefiles
 
 release::
 	echo $(BUILD_NUMBER) > $(RELEASE_DIR)/$(BUILD_NUMBER)/version.df
 	@if test -f imports.df; then \
 	    echo "cp -f imports.df $(RELEASE_DIR)/$(BUILD_NUMBER)/imports.df"; \
 	    cp -f imports.df $(RELEASE_DIR)/$(BUILD_NUMBER)/imports.df; \
 	else \
 	    echo "echo > $(RELEASE_DIR)/$(BUILD_NUMBER)/imports.df"; \