Revert "Remove ocaml/.depend from git."
authorRichard Jones <rjones@redhat.com>
Mon, 8 Nov 2010 22:35:13 +0000 (22:35 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 18 Nov 2010 11:30:23 +0000 (11:30 +0000)
This reverts commit 064569bcbf854a9cf588ce31851d987d5f114ec8.

This commit does the wrong thing: creating an empty ocaml/.depend
file is wrong because building the OCaml bindings will fail.
Not having this file will prevent automake from running.  Therefore
this file has to exist with the correct content in git.
(cherry picked from commit e3acf93ce9e87ce308cf50a4f41408b25dd910e9)

.gitignore
bootstrap
ocaml/.depend [new file with mode: 0644]

index 575d147..4f52302 100644 (file)
@@ -165,7 +165,6 @@ Makefile
 Makefile.in
 missing
 *.o
-ocaml/.depend
 ocaml/bindtests
 ocaml/bindtests.ml
 ocaml/dllmlguestfs.so
index 5ceac31..c2507fc 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -85,9 +85,5 @@ $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
new file mode 100644 (file)
index 0000000..cc3febf
--- /dev/null
@@ -0,0 +1,5 @@
+bindtests.cmo: guestfs.cmi
+bindtests.cmx: guestfs.cmx
+guestfs.cmi:
+guestfs.cmo: guestfs.cmi
+guestfs.cmx: guestfs.cmi