Updated MANIFEST for release 0.4.
[ocaml-augeas.git] / Makefile.in
index 178269e..0aaed4e 100644 (file)
@@ -26,7 +26,7 @@ OCAMLDOC      = @OCAMLDOC@
 INSTALL                = @INSTALL@
 
 CC             = @CC@
-CFLAGS         = @CFLAGS@ -fPIC -I$(shell ocamlc -where)
+CFLAGS         = @CFLAGS@ -fPIC -I$(shell ocamlc -where) -Wall -Werror
 LDFLAGS                = @LDFLAGS@
 LIBS           = @LIBS@
 
@@ -55,7 +55,8 @@ test_augeas: test_augeas.cmo test_root
 test_root:
        rm -rf $@
        mkdir $@
-       cp /etc/hosts $@/
+       mkdir $@/etc
+       cp /etc/hosts $@/etc/
 
 # Clean.
 
@@ -111,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; \