From 6308530c6b27034c288252dda22ab2222a3e94bc Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Mon, 11 Jun 2012 14:02:33 +0100
Subject: [PATCH] Fix 'make dist' rule.

---
 .hgignore   | 22 ----------------------
 MANIFEST    |  4 +---
 Makefile.in |  3 ++-
 3 files changed, 3 insertions(+), 26 deletions(-)
 delete mode 100644 .hgignore

diff --git a/.hgignore b/.hgignore
deleted file mode 100644
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
diff --git a/MANIFEST b/MANIFEST
index 14ee57b..bba9709 100644
--- 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
diff --git a/Makefile.in b/Makefile.in
index 0ff38a4..724248f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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; \
-- 
1.8.3.1