Rename 'update-iso.ml' as more happenin' 'iso-attach'.
[virt-p2v.git] / Makefile
index d250b86..bd944e2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@
 # General configuration
 
 PACKAGE  := virt-p2v
-VERSION  := 0.8
+VERSION  := 0.9
 
 # i386 images also work on x86-64, so best to stick with i386.
 ARCH     := i386
@@ -102,9 +102,9 @@ boot:
 
 # Update an existing ISO.
 
-update: checkroot
-       -./update-iso.ml delete $(ISO)
-       ./update-iso.ml add $(ISO) virt-p2v.ml
+update: checkroot checkscript
+       -./iso-attach delete $(ISO)
+       ./iso-attach add $(ISO) virt-p2v.ml
 
 # Check that we are root.
 
@@ -136,12 +136,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; \
+       @hg manifest | sort > .check-manifest; \
        sort MANIFEST > .orig-manifest; \
        diff -u .orig-manifest .check-manifest; rv=$$?; \
        rm -f .orig-manifest .check-manifest; \