[Libguestfs] [PATCH] Remove ocaml/.depend from git

Matthew Booth mbooth at redhat.com
Wed Oct 27 16:36:59 UTC 2010


ocaml/.depend is automatically generated. This patch removes it from git.
---
 .gitignore    |    1 +
 bootstrap     |    4 ++++
 ocaml/.depend |    5 -----
 3 files changed, 5 insertions(+), 5 deletions(-)
 delete mode 100644 ocaml/.depend

diff --git a/.gitignore b/.gitignore
index bddbe25..527335d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -160,6 +160,7 @@ Makefile
 Makefile.in
 missing
 *.o
+ocaml/.depend
 ocaml/bindtests
 ocaml/bindtests.ml
 ocaml/dllmlguestfs.so
diff --git a/bootstrap b/bootstrap
index c2507fc..5ceac31 100755
--- a/bootstrap
+++ b/bootstrap
@@ -85,5 +85,9 @@ $gnulib_tool			\
   --tests-base=gnulib/tests	\
   --import $modules
 
+# ocaml/.depend is updated automatically. However, as it's included by
+# ocaml/Makefile.am we need to bootstrap it here.
+touch ocaml/.depend
+
 # Disable autopoint and libtoolize, since they were already done above.
 AUTOPOINT=true LIBTOOLIZE=true autoreconf --verbose --install
diff --git a/ocaml/.depend b/ocaml/.depend
deleted file mode 100644
index cc3febf..0000000
--- a/ocaml/.depend
+++ /dev/null
@@ -1,5 +0,0 @@
-bindtests.cmo: guestfs.cmi
-bindtests.cmx: guestfs.cmx
-guestfs.cmi:
-guestfs.cmo: guestfs.cmi
-guestfs.cmx: guestfs.cmi
-- 
1.7.2.3




More information about the Libguestfs mailing list