Fix check-manifest rule to work with Subversion.
authorRichard W.M. Jones <rich@annexia.org>
Sun, 18 May 2008 16:03:04 +0000 (16:03 +0000)
committerRichard W.M. Jones <rich@annexia.org>
Sun, 18 May 2008 16:03:04 +0000 (16:03 +0000)
MANIFEST
Makefile.in

index 3a4fe81..a9cea91 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,7 +1,6 @@
 aclocal.m4
 bitmatch.ml
 bitmatch.mli
-.cvsignore
 .depend
 configure.ac
 COPYING.LIB
index a36a4d6..fcc1dcc 100644 (file)
@@ -131,11 +131,7 @@ dist:
        ls -l $(PACKAGE)-$(VERSION).tar.gz
 
 check-manifest:
-       @for d in `find -type d -name CVS`; do \
-       b=`dirname $$d`/; \
-       awk -F/ '$$1 != "D" {print $$2}' $$d/Entries | \
-       sed -e "s|^|$$b|" -e "s|^\./||"; \
-       done | sort > .check-manifest; \
+       svn -R list | grep -v '/$$' | sort > .check-manifest
        sort MANIFEST > .orig-manifest; \
        diff -u .orig-manifest .check-manifest; rv=$$?; \
        rm -f .orig-manifest .check-manifest; \