Annotation of OpenXM/src/jupyter/Makefile, Revision 1.2
1.1 takayama 1: # $OpenXM$
2: usage:
3: @echo "install-debian-for-debug clean-debian"
4: @echo "install-mac-anaconda2-for-debug"
5: @echo "put-to-ox-dir get-from-ox-dir"
6:
7: Debian_ASIR_KERNEL_DIR=${HOME}/.local/lib/python2.7/site-packages/asir_kernel
8: Debian_ASIR_KERNEL_INFO=${HOME}/.local/share/jupyter/kernels/asir
9: install-debian-for-debug:
10: -mkdir ${HOME}/bin
11: -ln -s `pwd`/asir-cli ${HOME}/bin
12: -mkdir -p ${Debian_ASIR_KERNEL_DIR}
13: -mkdir -p ${Debian_ASIR_KERNEL_INFO}
14: -ln -s `pwd`/kernel.py ${Debian_ASIR_KERNEL_DIR}/kernel.py
15: -ln -s `pwd`/kernel.json ${Debian_ASIR_KERNEL_DIR}/kernel.json
16: -ln -s `pwd`/__init__.py ${Debian_ASIR_KERNEL_DIR}/__init__.py
17: -ln -s `pwd`/__main__.py ${Debian_ASIR_KERNEL_DIR}/__main__.py
18: -ln -s `pwd`/kernel.json ${Debian_ASIR_KERNEL_INFO}/kernel.json
19: -@echo "${HOME}/bin should be in the command search path. 'which asir-cli' returns asir-cli? "
20: clean-debian:
21: rm -rf ${Debian_ASIR_KERNEL_DIR} ${Debian_ASIR_KERNEL_INFO} ${HOME}/bin/asir-cli
22:
23: OX_DIR=${OpenXM_HOME}/src/jupyter
24: ASIR_KERNEL_FILES=kernel.py kernel.json __init__.py __main__.py
25: put-to-ox-dir:
26: -mkdir -p ${OX_DIR}
1.2 ! takayama 27: -for i in ${ASIR_KERNEL_FILES}; do rsync -avzu $$i ${OX_DIR} ; done
1.1 takayama 28: -rsync -avzu Makefile ${OX_DIR}
29: @echo "pushd ${OX_DIR} and commit; and popd and make get-from-ox-dir and commit to change tags."
30: get-from-ox-dir:
31: -for i in ${ASIR_KERNEL_FILES}; do rsync -avzu ${OX_DIR}/$$i . ; done
32:
33: ANACONDA2_ASIR_KERNEL_DIR=/anaconda2/lib/python2.7/site-packages/asir_kernel
34: ANACONDA2_ASIR_KERNEL_INFO=/anaconda2/share/jupyter/kernels/asir
35: install-mac-anaconda2:
36: -mkdir ${HOME}/bin
37: -ln -s `pwd`/asir-cli ${HOME}/bin
38: -mkdir -p ${ANACONDA2_ASIR_KERNEL_DIR}
39: -mkdir -p ${ANACONDA2_ASIR_KERNEL_INFO}
40: -ln -s `pwd`/kernel.py ${ANACONDA2_ASIR_KERNEL_DIR}/kernel.py
41: -ln -s `pwd`/kernel.json ${ANACONDA2_ASIR_KERNEL_DIR}/kernel.json
42: -ln -s `pwd`/__init__.py ${ANACONDA2_ASIR_KERNEL_DIR}/__init__.py
43: -ln -s `pwd`/__main__.py ${ANACONDA2_ASIR_KERNEL_DIR}/__main__.py
44: -ln -s `pwd`/kernel.json ${ANACONDA2_ASIR_KERNEL_INFO}/kernel.json
45: -@echo "${HOME}/bin should be in the command search path. 'which asir-cli' returns asir-cli? "
46:
47: clean-mac-anaconda2:
48: rm -rf ${ANACONDA2_ASIR_KERNEL_DIR} ${ANACONDA2_ASIR_KERNEL_INFO} ${HOME}/bin/asir-cli
49:
50:
51:
52:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>