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