Revert "Remove ocaml/.depend from git."

This reverts commit 064569bcbf.

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 e3acf93ce9)
This commit is contained in:
Richard Jones
2010-11-08 22:35:13 +00:00
committed by Richard W.M. Jones
parent c9288079e2
commit 094ff95620
3 changed files with 5 additions and 5 deletions

1
.gitignore vendored
View File

@@ -165,7 +165,6 @@ Makefile
Makefile.in
missing
*.o
ocaml/.depend
ocaml/bindtests
ocaml/bindtests.ml
ocaml/dllmlguestfs.so

View File

@@ -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

5
ocaml/.depend Normal file
View File

@@ -0,0 +1,5 @@
bindtests.cmo: guestfs.cmi
bindtests.cmx: guestfs.cmx
guestfs.cmi:
guestfs.cmo: guestfs.cmi
guestfs.cmx: guestfs.cmi