summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2012-12-14 08:36:07 (GMT)
committerTony Theodore <tonyt@logyst.com>2012-12-14 10:32:45 (GMT)
commit2121da9bed500d49dec9155206906f2a7aff2559 (patch)
treec779f46d4e2d618eb81651797f52f2288718a837
parent75df52687a1fcb9ddd5e1ebf79d30f6a7fae880c (diff)
downloadmxe-2121da9bed500d49dec9155206906f2a7aff2559.zip
mxe-2121da9bed500d49dec9155206906f2a7aff2559.tar.gz
mxe-2121da9bed500d49dec9155206906f2a7aff2559.tar.bz2
package ocaml-core: add prefixed ocamlyacc
-rw-r--r--src/ocaml-core.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ocaml-core.mk b/src/ocaml-core.mk
index c4111ca..fa0f5ef 100644
--- a/src/ocaml-core.mk
+++ b/src/ocaml-core.mk
@@ -111,8 +111,10 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)' install
$(MAKE) -C '$(1)' installopt
# Rename all the binaries to target-binary
- for f in ocamlc ocamlcp ocamlrun ocamldep ocamlmklib ocamlmktop ocamlopt ocamlprof camlp4prof camlp4boot camlp4 camlp4oof camlp4of camlp4o camlp4rf camlp4r camlp4orf ocamldoc ocamllex ; do \
- cp -f $(PREFIX)/$(TARGET)/bin/$$f $(PREFIX)/bin/$(TARGET)-$$f; \
+ for f in ocamlc ocamlcp ocamlrun ocamldep ocamlmklib ocamlmktop ocamlopt \
+ ocamlprof camlp4prof camlp4boot camlp4 camlp4oof camlp4of camlp4o \
+ camlp4rf camlp4r camlp4orf ocamldoc ocamllex ocamlyacc; do \
+ cp -f $(PREFIX)/$(TARGET)/bin/$$f $(PREFIX)/bin/$(TARGET)-$$f; \
done
# test ocamlopt