[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / asir-mode

Annotation of OpenXM/src/asir-mode/Makefile, Revision 1.6

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>