Skip to content

Commit

Permalink
fix build bug
Browse files Browse the repository at this point in the history
  • Loading branch information
duckpilot committed Sep 1, 2010
1 parent 927d634 commit b234970
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/orpc-js-comet-server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ orpc_js_comet_server.mli orpc_js_comet_server.cmi \
BFILES=$(addprefix _build/,$(FILES))

all: myocamlbuild.ml
OCAMLFIND_IGNORE_DUPS_IN=$(LIBDIR)/site-lib \
OCAMLPATH=`pwd`/../../stage \
ocamlbuild orpc-js-comet-server.cma orpc-js-comet-server.cmxa

doc:
OCAMLFIND_IGNORE_DUPS_IN=$(LIBDIR)/site-lib \
OCAMLPATH=`pwd`/../../stage \
ocamlbuild -no-links doc.docdir/index.html

install:
Expand Down
6 changes: 6 additions & 0 deletions src/orpc-js-server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@ orpc_js_server.mli orpc_js_server.cmi \
BFILES=$(addprefix _build/,$(FILES))

all: myocamlbuild.ml
OCAMLFIND_IGNORE_DUPS_IN=$(LIBDIR)/site-lib \
OCAMLPATH=`pwd`/../../stage \
ocamlbuild orpc-js-server.cma orpc-js-server.cmxa
ocamlfind remove -destdir ../../stage orpc-js-server
ocamlfind install -destdir ../../stage orpc-js-server META $(BFILES)

doc:
OCAMLFIND_IGNORE_DUPS_IN=$(LIBDIR)/site-lib \
OCAMLPATH=`pwd`/../../stage \
ocamlbuild -no-links doc.docdir/index.html

install:
Expand Down

0 comments on commit b234970

Please sign in to comment.