version 1.27, 2007/11/27 22:26:29 |
version 1.30, 2019/09/30 06:11:05 |
|
|
# $OpenXM: OpenXM/rc/Makefile,v 1.26 2004/06/21 06:06:15 takayama Exp $ |
# $OpenXM: OpenXM/rc/Makefile,v 1.29 2019/09/30 02:42:57 takayama Exp $ |
# make install-under-prefix [ prefix=/home/hoge ] ; Default is /usr/local |
# make install-under-prefix [ prefix=/home/hoge ] ; Default is /usr/local |
prefix=/usr/local |
prefix=/usr/local |
CC=gcc |
CC=gcc |
# SHELL_SCRIPTS=asir sm1 oxgp k0 oxmath oxMathematica ox |
# SHELL_SCRIPTS=asir sm1 oxgp k0 oxmath oxMathematica ox |
SHELL_SCRIPTS=asir sm1 oxmath oxMathematica ox openxm webasir |
SHELL_SCRIPTS=asir asir2000 sm1 oxmath oxMathematica ox openxm webasir |
SHELL_SCRIPTS_FREE= sm1 oxmath oxMathematica ox openxm webasir |
SHELL_SCRIPTS_FREE= sm1 oxmath oxMathematica ox openxm webasir |
INSTALL_DIR=${prefix}/bin |
INSTALL_DIR=${prefix}/bin |
MAN_DIR=../man/man1 |
MAN_DIR=../man/man1 |
Line 94 copy-free: all-global-shell-scripts |
|
Line 94 copy-free: all-global-shell-scripts |
|
copy-non-free: all-global-shell-scripts |
copy-non-free: all-global-shell-scripts |
-mkdir ${prefix} |
-mkdir ${prefix} |
-(cd ../.. ; tar czf - --exclude-from OpenXM/rc/junk-list `cat OpenXM/rc/non-free-list`) | (cd ${prefix} ; tar xvzf -) |
-(cd ../.. ; tar czf - --exclude-from OpenXM/rc/junk-list `cat OpenXM/rc/non-free-list`) | (cd ${prefix} ; tar xvzf -) |
|
|
|
install-emacs-asir-on-mac: all-scripts |
|
-mkdir -p ~/bin |
|
cp ../bin/openxm ~/bin |
|
if type "openxm" >/dev/null 2>&1; then \ |
|
echo "openxm is already in the path."; \ |
|
else \ |
|
echo "export PATH=~/bin:$$PATH" >>~/.bash_profile ; \ |
|
echo "~/bin is added to the path."; \ |
|
fi |
|
~/bin/openxm use-asir-mode.sh --local-yes |
|
@echo "Installation completed. Login again or do source ./dot.bashrc to start emacs/asir" |
|
|
|
norc-fix: |
|
pushd ../bin ; mv openxm openxm.orig ; sed -e 's/ASIR_CONFIG/#ASIR_CONFIG/g' openxm.orig >openxm ; chmod +x openxm ; popd |
|
|