From: Richard Jones Date: Mon, 8 Nov 2010 22:35:13 +0000 (+0000) Subject: Revert "Remove ocaml/.depend from git." X-Git-Tag: 1.6.2~37 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=094ff95620e5dff2dfc168b363fbb14bbc02c8cc;p=libguestfs.git Revert "Remove ocaml/.depend from git." 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) --- diff --git a/.gitignore b/.gitignore index 575d147..4f52302 100644 --- a/.gitignore +++ b/.gitignore @@ -165,7 +165,6 @@ Makefile Makefile.in missing *.o -ocaml/.depend ocaml/bindtests ocaml/bindtests.ml ocaml/dllmlguestfs.so diff --git a/bootstrap b/bootstrap index 5ceac31..c2507fc 100755 --- 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 index 0000000..cc3febf --- /dev/null +++ b/ocaml/.depend @@ -0,0 +1,5 @@ +bindtests.cmo: guestfs.cmi +bindtests.cmx: guestfs.cmx +guestfs.cmi: +guestfs.cmo: guestfs.cmi +guestfs.cmx: guestfs.cmi