Skip to content

Commit 65be406

Browse files
committed
Installation: create directory first and make ipython optional
...since iocaml no longer requires ipython to be installed at all (!)
1 parent 7f47bc6 commit 65be406

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,10 @@ static/services/kernels/js/kernel$(EXT).js: kernel.js iocaml.js
184184
# install (not needed anymore with iocamlserver)
185185

186186
install:
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

190192
clean::
191193
- rm -f *.cm[io] iocaml_full.byte iocaml.byte iocaml.js

0 commit comments

Comments
 (0)