[llvm] r195336 - [OCaml] Unbreak make install by providing ocamldoc target

Peter Zotov whitequark at whitequark.org
Thu Nov 21 02:10:16 PST 2013


Author: whitequark
Date: Thu Nov 21 04:10:16 2013
New Revision: 195336

URL: http://llvm.org/viewvc/llvm-project?rev=195336&view=rev
Log:
[OCaml] Unbreak make install by providing ocamldoc target

Modified:
    llvm/trunk/bindings/ocaml/backends/Makefile

Modified: llvm/trunk/bindings/ocaml/backends/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/ocaml/backends/Makefile?rev=195336&r1=195335&r2=195336&view=diff
==============================================================================
--- llvm/trunk/bindings/ocaml/backends/Makefile (original)
+++ llvm/trunk/bindings/ocaml/backends/Makefile Thu Nov 21 04:10:16 2013
@@ -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





More information about the llvm-commits mailing list