Permalink
Browse files

[fix] build: opa tools

  • Loading branch information...
1 parent 40b7939 commit 5c9c2c2071ad8a2bd452742c0204ea2d823c267c @BourgerieQuentin BourgerieQuentin committed Jun 20, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −0 Makefile
  2. +2 −2 build_rules.ml
View
@@ -39,6 +39,7 @@ all: $(MYOCAMLBUILD)
ifndef NO_MANPAGES
$(MAKE) manpages
endif
+ $(MAKE) $(OPA_TOOLS)
.PHONY: build
@@ -79,6 +80,7 @@ OPA_TOOLS = opa-create
distrib: $(MYOCAMLBUILD)
$(OCAMLBUILD) $(call target-tools,$(DISTRIB_TOOLS)) opa-both-packages.stamp
@$(call copy-tools,$(DISTRIB_TOOLS))
+ $(MAKE) $(OPA_TOOLS)
.PHONY: manpages
manpages: $(MYOCAMLBUILD)
View
@@ -889,9 +889,9 @@ rule "opa application creator"
~prods: [opa_create_dst]
(fun env build ->
Cmd(S[
- Sh("MLSTATELIBS=\""^ opa_prefix ^"\"");
get_tool "opa-bin";
- A"-o"; P opa_create_dst; P opa_create_src
+ A"-o"; P opa_create_dst; P opa_create_src;
+ A"-I"; A opa_prefix
]));
let package_building ?(nodebackend=false) ~name ~stamp ~stdlib_only ~rebuild () =

0 comments on commit 5c9c2c2

Please sign in to comment.