Fix 'make check-manifest' rule to work with git.
authorRichard Jones <rjones@trick.home.annexia.org>
Tue, 26 May 2009 11:59:20 +0000 (12:59 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Tue, 26 May 2009 11:59:20 +0000 (12:59 +0100)
Makefile

index 32417dd..16fd75a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -102,12 +102,7 @@ dist:
        ls -l $(PACKAGE)-$(VERSION).tar.gz
 
 check-manifest:
-       @for d in `find -type d -name CVS | grep -v '^\./debian/'`; \
-       do \
-       b=`dirname $$d`/; \
-       awk -F/ '$$1 != "D" {print $$2}' $$d/Entries | \
-       sed -e "s|^|$$b|" -e "s|^\./||"; \
-       done | sort > .check-manifest; \
+       git ls-files | sort > .check-manifest; \
        sort MANIFEST > .orig-manifest; \
        diff -u .orig-manifest .check-manifest; rv=$$?; \
        rm -f .orig-manifest .check-manifest; \