From: Matt Mackall Date: Sat, 3 Sep 2005 22:54:25 +0000 (-0700) Subject: [PATCH] kbuild: fix make clean damaging hg repos X-Git-Tag: v2.6.14-rc1~994 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0216f86dafb389c0ad97529fd45e64e883298cfd;p=linux-2.6-omap-h63xx.git [PATCH] kbuild: fix make clean damaging hg repos Running 'make clean' was quietly deleting files in Mercurial kernel repositories matching '.*.d', which was corrupting the tags portions of the repository. Spotted and fixed by several people. Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/Makefile b/Makefile index 3d84df581cf..2d68adbcfa2 100644 --- a/Makefile +++ b/Makefile @@ -374,8 +374,8 @@ depfile = $(subst $(comma),_,$(@D)/.$(@F).d) # Files to ignore in find ... statements -RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc \) -prune -o -RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc +RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc -o -name .hg \) -prune -o +RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg # =========================================================================== # Rules shared between *config targets and build targets