Make 'check-manifest' work with HG.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 7 May 2008 07:48:53 +0000 (08:48 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 7 May 2008 07:48:53 +0000 (08:48 +0100)
Makefile.in

index 6a9b918..0aaed4e 100644 (file)
@@ -112,11 +112,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; \
+       hg manifest | sort > .check-manifest; \
        sort MANIFEST > .orig-manifest; \
        diff -u .orig-manifest .check-manifest; rv=$$?; \
        rm -f .orig-manifest .check-manifest; \