Re: dontdiff for 2.6.0-test4

Sam Ravnborg
2003-09-01T17:18:16Z

On Mon, Sep 01, 2003 at 01:07:41PM -0400, Jeff Garzik wrote:
>
> dontdiff must know about many things that 'make mrproper' need not care
> about:
>
> files with ".bak" suffix
> files with "~" suffix
> BitKeeper, CVS, RCS, SCCS directories

make mrproper already cares about all those.
Fragments from top-level Makefile:

RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \) -prune -o

mrproper:
@find . $(RCS_FIND_IGNORE) \
\( -name '*.orig' -o -name '*.rej' -o -name '*~' \
-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
-o -name '.*.rej' -o -size 0 \
-o -name '*%' -o -name '.*.cmd' -o -name 'core' \) \
-type f -print | xargs rm -f
$(call cmd,mrproper)

Sam