[OCaml] Unbreak make install by providing ocamldoc target
authorPeter Zotov <whitequark@whitequark.org>
Thu, 21 Nov 2013 10:10:16 +0000 (10:10 +0000)
committerPeter Zotov <whitequark@whitequark.org>
Thu, 21 Nov 2013 10:10:16 +0000 (10:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195336 91177308-0d34-0410-b5e6-96231b3b80d8

bindings/ocaml/backends/Makefile

index 7698d6e02856691054390cff39f5e5054786b58c..ff39212c50bade9ef9b3808381eac735d8ebdb33 100644 (file)
@@ -53,4 +53,9 @@ uninstall-backends: stubs
                $(MAKE) -f Makefile.$$i uninstall; \
        done
 
-.PHONY: all-backends clean-backends install-backends uninstall-backends
+ocamldoc: stubs
+       $(Verb) for i in $(TARGETS_TO_BUILD); do \
+               $(MAKE) -f Makefile.$$i ocamldoc; \
+       done
+
+.PHONY: all-backends clean-backends install-backends uninstall-backends ocamldoc