Annotation of OpenXM/src/asir-mode/Makefile, Revision 1.4
1.4 ! takayama 1: # $OpenXM: OpenXM/src/asir-mode/Makefile,v 1.3 2019/09/30 03:06:09 takayama Exp $
1.1 takayama 2: BINDIR=../../bin
3: SHAREDIR=../../share
4: OpenXM_contrib2=../../../OpenXM_contrib2
5: install:
6: -mkdir -p ${SHAREDIR}/emacs ${BINDIR}
7: install ${OpenXM_contrib2}/windows/post-msg-asirgui/asir-mode.el ${SHAREDIR}/emacs
8: install ./use-asir-mode-local.txt ${SHAREDIR}/emacs
9: install ./use-asir-mode.txt ${SHAREDIR}/emacs
10: install ./use-asir-mode.sh ${BINDIR}
1.2 takayama 11:
12: # build distribution for emacs/asir on Mac
13: # We assume that "make install" is done under OpenXM/src
14: # If OpenXM/src is built by make install-for-debug", the following script causes an error.
15: build-for-mac:
16: rm -rf work
17: mkdir work
18: -cp install.txt work
19: (cd work ; (cd ${OpenXM_HOME}/.. ; \
20: tar cf - OpenXM/lib/libgc* OpenXM/lib/libgmp* OpenXM/rc \
21: OpenXM/bin \
22: OpenXM/lib/cfep OpenXM/lib/sm1/bin \
1.4 ! takayama 23: OpenXM/src/jupyter ) | tar xvf -)
1.2 takayama 24: (cd work ; (cd ${OpenXM_HOME}/.. ; \
25: tar cf - OpenXM/lib/asir ) | tar xvf -)
26: (cd work/OpenXM/rc ; make clean)
27: mkdir work/OpenXM/lib/asir-contrib
28: (cd work/OpenXM/lib/asir-contrib ; (cd ${OpenXM_HOME}/src/asir-contrib/packages/src ; tar cf - * ) | tar xvf -)
29: rm -f work/OpenXM/lib/asir-contrib/noro_rewrite.rr
30: (cp ${OpenXM_HOME}/src/asir-contrib/testing/noro/new_rewrite.rr work/OpenXM/lib/asir-contrib/noro_rewrite.rr)
31: rm -f work/OpenXM/bin/ox work/OpenXM/bin/asir
32: (cp ${OpenXM_HOME}/bin/ox work/OpenXM/bin)
33: (cp ${OpenXM_HOME}/bin/asir work/OpenXM/bin)
34: (cp ${OpenXM_HOME}/bin/ox_sm1 work/OpenXM/bin)
35: (cp ${OpenXM_HOME}/bin/ox_texmacs work/OpenXM/bin)
36: (cp ${OpenXM_HOME}/bin/ox100start work/OpenXM/bin)
37: (cp ${OpenXM_HOME}/bin/ox work/OpenXM/bin)
38: (cp ${OpenXM_HOME}/bin/oxlog work/OpenXM/bin)
1.4 ! takayama 39: -(cp ${OpenXM_HOME}/bin/nkf work/OpenXM/bin)
1.2 takayama 40: (cp ${OpenXM_HOME}/bin/sm1 work/OpenXM/bin)
41: (cp ${OpenXM_HOME}/bin/ox_k0 work/OpenXM/bin)
42: (cp ${OpenXM_HOME}/bin/ox_cpp work/OpenXM/bin)
43: (cp ${OpenXM_HOME}/bin/ox_pari work/OpenXM/bin)
44: (mkdir -p work/OpenXM/lib/sm1 ; cp -r ${OpenXM_HOME}/lib/sm1/*.sm1 work/OpenXM/lib/sm1)
45: @echo "Generate diskimage by hand. Name should be emacs-asir.dmg.gz"
46: @echo "Copy work/OpenXM to the image."
47:
48: clean:
49: rm -rf work
50:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>