From: Richard Jones Date: Tue, 26 May 2009 11:59:20 +0000 (+0100) Subject: Fix 'make check-manifest' rule to work with git. X-Git-Tag: 0.9.0~2 X-Git-Url: http://git.annexia.org/?p=ocaml-ancient.git;a=commitdiff_plain;h=72a31f122e523c71e186ee9db189f931d75f3651 Fix 'make check-manifest' rule to work with git. --- diff --git a/Makefile b/Makefile index 32417dd..16fd75a 100644 --- 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; \