bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint: remove obsolete "cvs-clean" make target


From: Jim Meyering
Subject: [PATCH] maint: remove obsolete "cvs-clean" make target
Date: Wed, 17 Mar 2010 17:58:57 +0100

FYI,

>From 915944fdb2282b380a36f64b5bf58c729b58d90d Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 17 Mar 2010 16:14:47 +0100
Subject: [PATCH] maint: remove obsolete "cvs-clean" make target

* Makefile.am (cvs-clean): Remove obsolete target.
---
 Makefile.am |   30 ------------------------------
 1 files changed, 0 insertions(+), 30 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 33a2025..3ac91d6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,36 +23,6 @@ SUBDIRS = po lib doc src tests vms gnulib-tests
 EXTRA_DIST = build-aux/config.rpath TODO README README-alpha \
             Makefile.boot README-boot

-
-# make cvs-clean blatantly stolen from KDE CVS ;)
-cvs-clean:
-       @if test ! -d CVS; then \
-         echo "You don't have a toplevel CVS directory."; \
-         echo "You most certainly didn't use cvs to get these sources."; \
-         echo "But this function depends on cvs's information."; \
-         exit 1 ;\
-       fi;\
-       pwd=`pwd` ;\
-       dirs=`find . -type d | grep -v CVS | sed -e "s#^./##"` ;\
-       for i in $$dirs; do \
-         if test ! -d "$$pwd/$$i/CVS"; then \
-           echo "D $$i" ;\
-           rm -rf "$$pwd/$$i"; \
-           continue; \
-         fi ;\
-         cd $$pwd/$$i ;\
-         for f in * .*; do \
-           if test ! -d "$$f"; then \
-             if grep "^/$$f/" CVS/Entries > /dev/null; then \
-               a="b"; \
-             else \
-               echo "F $$i/$$f"; \
-               rm -f "$$pwd/$$i/$$f"; \
-             fi; \
-           fi ; \
-         done; \
-       done
-
 # Arrange so that .tarball-version appears only in the distribution
 # tarball, and never in a checked-out repository.
 dist-hook: gen-ChangeLog
--
1.7.0.2.451.g960ec




reply via email to

[Prev in Thread] Current Thread [Next in Thread]