Fix check-manifest and add a MANIFEST file
[virt-mem.git] / Makefile.in
index df5123b..dd8374c 100644 (file)
@@ -86,24 +86,12 @@ 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; \
+       hg manifest | sort > .check-manifest; \
        sort MANIFEST > .orig-manifest; \
        diff -u .orig-manifest .check-manifest; rv=$$?; \
        rm -f .orig-manifest .check-manifest; \
        exit $$rv
 
-#check-manifest:
-#      hg manifest | sort > .check-manifest; \
-#      sort MANIFEST > .orig-manifest; \
-#      diff -u .orig-manifest .check-manifest; rv=$$?; \
-#      rm -f .orig-manifest .check-manifest; \
-#      exit $$rv
-
 # Developer documentation (in html/ subdirectory).
 
 doc: