From: Richard Jones Date: Mon, 8 Nov 2010 22:35:13 +0000 (+0000) Subject: Revert "Remove ocaml/.depend from git." X-Git-Tag: 1.7.4~21 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=e3acf93ce9e87ce308cf50a4f41408b25dd910e9;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. --- diff --git a/.gitignore b/.gitignore index ad44a7a..d42898a 100644 --- a/.gitignore +++ b/.gitignore @@ -170,7 +170,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