Commits

james woodyatt  committed 378e6bc

[project/lang/OCaml] Correct the dependencies for the 'documents' target.

  • Participants
  • Parent commits b18afc0
  • Tags oni-1.00rc1

Comments (0)

Files changed (1)

File project/lang/OCaml.om

     
     ### Invoke ocamlmklib to make bytecode libraries
     native-library(name, cmxfiles, dst)=
-        private.libs=$(name).cmxa
+        private.libs=$(name).cmxa $(name).a
         return $(mklib-composer-rule $(name), $(libs), $(cmxfiles), $(dst))
 
 ### The OCaml document generator
     documents-target()=
         private.target=$(addprefix documents-, $(this.NAME))
         private.dstage=$(this.STAGE.push docs)
-        OCAMLDOC.DEPEND+=$(dstage.DIR)
+        OCAMLDOC.DEPEND+=$(dstage.DIR) $(this.FILES)
         OCAMLDOC.SEARCH+=$(this.DOCSEARCH)
         return $(OCAMLDOC.html-documents $(this.FILES), $(dstage.DIR))