Adding ocamldoc generation.
[oota-llvm.git] / bindings / ocaml / Makefile
index 89d05df618b0494164449add0ae6c032d29908f1..5f1788e33ea4b988460687b3ca94f6927182e483 100644 (file)
@@ -2,12 +2,17 @@
 # 
 #                     The LLVM Compiler Infrastructure
 #
-# This file was developed by Gordon Henriksen and is distributed under the
-# University of Illinois Open Source License. See LICENSE.TXT for details.
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
 # 
 ##===----------------------------------------------------------------------===##
 
 LEVEL := ../..
 DIRS = llvm bitreader bitwriter analysis executionengine
 
+ocamldoc:
+       $(Verb) for i in $(DIRS) ; do \
+               $(MAKE) -C $$i ocamldoc; \
+       done
+
 include $(LEVEL)/Makefile.common