]> git.neil.brown.name Git - history.git/commitdiff
Add CVS files to the list of files ignored by "find".and make
authorLinus Torvalds <torvalds@home.transmeta.com>
Fri, 27 Sep 2002 03:34:08 +0000 (20:34 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 27 Sep 2002 03:34:08 +0000 (20:34 -0700)
the same ignore rules for "tar" as well.

Makefile

index f4895150b6d78d5358e4a3b3ca7759430825bac7..13079c0209d67803d2c0b321195ac05c02698038 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -173,7 +173,8 @@ noconfig_targets := xconfig menuconfig config oldconfig randconfig \
                    help tags TAGS sgmldocs psdocs pdfdocs htmldocs \
                    checkconfig checkhelp checkincludes
 
-RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn \) -prune -o
+RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \) -prune -o
+RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS
 
 # Helpers built in scripts/
 # ---------------------------------------------------------------------------
@@ -589,7 +590,7 @@ rpm:        clean spec
        set -e; \
        cd $(TOPDIR)/.. ; \
        ln -sf $(TOPDIR) $(KERNELPATH) ; \
-       tar -cvz --exclude CVS -f $(KERNELPATH).tar.gz $(KERNELPATH)/. ; \
+       tar -cvz $(RCS_TAR_IGNORE) -f $(KERNELPATH).tar.gz $(KERNELPATH)/. ; \
        rm $(KERNELPATH) ; \
        cd $(TOPDIR) ; \
        . scripts/mkversion > .version ; \