Fix 'make dist' rule.
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 11 Jun 2012 13:02:33 +0000 (14:02 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 11 Jun 2012 13:02:39 +0000 (14:02 +0100)
.hgignore [deleted file]
MANIFEST
Makefile.in

diff --git a/.hgignore b/.hgignore
deleted file mode 100644 (file)
index 0cf8c77..0000000
--- a/.hgignore
+++ /dev/null
@@ -1,22 +0,0 @@
-syntax: glob
-*~
-*.o
-*.so
-*.a
-*.cmi
-*.cmo
-*.cmx
-*.cma
-*.cmxa
-ocaml-augeas-*.tar.gz
-Makefile
-META
-configure
-autom4te.cache
-config.h.in
-config.h
-config.log
-config.status
-html
-test_root
-test_augeas
index 14ee57b..bba9709 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,11 +1,9 @@
-aclocal.m4
 augeas_c.c
 augeas.ml
 augeas.mli
-config.h.in
 configure.ac
 .depend
-.hgignore
+.gitignore
 COPYING.LIB
 install-sh
 Makefile.in
index 0ff38a4..724248f 100644 (file)
@@ -111,13 +111,14 @@ dist:
        mkdir $(PACKAGE)-$(VERSION)
        tar -cf - -T MANIFEST | tar -C $(PACKAGE)-$(VERSION) -xf -
        $(INSTALL) -m 0755 configure $(PACKAGE)-$(VERSION)/
+       $(INSTALL) -m 0644 aclocal.m4 $(PACKAGE)-$(VERSION)/
        $(INSTALL) -m 0644 config.h.in $(PACKAGE)-$(VERSION)/
        tar zcf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
        rm -rf $(PACKAGE)-$(VERSION)
        ls -l $(PACKAGE)-$(VERSION).tar.gz
 
 check-manifest:
-       hg manifest | 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; \