From 6f16d6f944d1362b84bc9f4b2d5d8035039e5d0a Mon Sep 17 00:00:00 2001 From: Florian Queze Date: Mon, 13 Jul 2009 13:46:23 +0200 Subject: [PATCH] Bug 468569 - after building in srcdir, make distclean doesn't clean up enough. r=ted --- js/src/Makefile.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js/src/Makefile.in b/js/src/Makefile.in index 87f70cbb0ef..93d9d4e16b0 100644 --- a/js/src/Makefile.in +++ b/js/src/Makefile.in @@ -354,6 +354,14 @@ check:: $(srcdir)/trace-test.js endif +DIST_GARBAGE = config.cache config.log config.status \ + config/myrules.mk config/myconfig.mk \ + unallmakefiles js-config js-config.h mozilla-config.h + +distclean:: + cat unallmakefiles | $(XARGS) rm -f + rm -f $(DIST_GARBAGE) + # our build system doesn't handle subdir srcs very gracefully today export:: mkdir -p nanojit