File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ CAMLP4_LIBS_INC=
6767endif
6868
6969# ocamlfind packages.
70- STD_PACKAGES =-package str,dynlink,js_of_ocaml,js_of_ocaml_compiler
70+ STD_PACKAGES =-package str,dynlink,js_of_ocaml,js_of_ocaml.compiler
7171ifneq ($(PACKAGES ) ,)
7272USER_PACKAGES =$(foreach p,$(PACKAGES ) ,-package $(p ) )
7373USER_PACKAGES_INC =$(foreach p,$(PACKAGES ) ,`ocamlfind query -i-format $(p ) -r | awk '{ printf $$0 " "}'`)
@@ -184,8 +184,10 @@ static/services/kernels/js/kernel$(EXT).js: kernel.js iocaml.js
184184# install (not needed anymore with iocamlserver)
185185
186186install :
187- cp -r static ` ipython locate profile iocamljs`
187+ rm -rf ` opam config var share` /iocamljs-kernel
188+ mkdir -p ` opam config var share` /iocamljs-kernel/profile
188189 cp -r static ` opam config var share` /iocamljs-kernel/profile
190+ -which ipython > /dev/null 2>&1 && cp -r static ` ipython locate profile iocamljs`
189191
190192clean ::
191193 - rm -f * .cm[io] iocaml_full.byte iocaml.byte iocaml.js
You can’t perform that action at this time.
0 commit comments