Remove all generated Makefiles upon distclean. SUNBIRD_0_3a2_RELEASE
authorcls%seawood.org
Fri, 28 Apr 2006 18:47:50 +0000
changeset 3648 9a8a20a8f7bd6e3c27c63f8a422c5ec88017a7e0
parent 3647 a1cd2cd995f611323f0a28c9f36531818e05338d
child 3655 e59747053709752ef54d68d4875b34512b5da538
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"; \