Skip to content
Browse files

[fix] Makefile: re-include opa-create

  • Loading branch information...
1 parent 4889669 commit 33e69010084f639d82c0c83e3866d9984019e21e @Aqua-Ye Aqua-Ye committed with BourgerieQuentin Jun 21, 2012
Showing with 5 additions and 1 deletion.
  1. +2 −1 Makefile
  2. +3 −0 build_rules.ml
View
3 Makefile
@@ -39,7 +39,7 @@ all: $(MYOCAMLBUILD)
ifndef NO_MANPAGES
$(MAKE) manpages
endif
-
+ $(MAKE) $(OPA_TOOLS)
.PHONY: build
build: all
@@ -79,6 +79,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
3 build_rules.ml
@@ -889,8 +889,11 @@ 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"--opx-dir";A "stdlib.qmlflat";
+ A"--back-end";A "qmlflat";
A"-I"; A opa_prefix
]));

0 comments on commit 33e6901

Please sign in to comment.
Something went wrong with that request. Please try again.