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

Annotation of OpenXM/src/asir-contrib/packages/doc/Makefile, Revision 1.15

1.15    ! takayama    1: #$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile,v 1.14 2001/02/23 12:28:33 takayama Exp $
1.5       takayama    2: # targets
                      3: # all :
                      4: #        Extracts all tex-info files from ../src/*
1.6       takayama    5: # install : install-document install-help
                      6: # install-help : all
1.5       takayama    7: #        Installing online help to OpenXM/lib/asir/help-*
1.6       takayama    8: # install-document :  all
1.5       takayama    9: #        Copy the documents to OpenXM/doc/asir-contrib
1.15    ! takayama   10: # install-html-help
        !            11: #        Copy html help to OpenXM/doc/asir-contrib
        !            12: #
1.6       takayama   13: # NOTE: install-help should be executed after installing asir2000.
1.5       takayama   14: OpenXM_ROOT=../../../../../OpenXM
                     15: ASIRDOC=$(OpenXM_ROOT)/src/asir-doc
                     16: ASIRLIB=$(OpenXM_ROOT)/../OpenXM_contrib2/asir2000/lib
                     17: CONTRIB=$(OpenXM_ROOT)/src/asir-contrib/packages/src
1.6       takayama   18: ## PS documents are installed under $(OpenXM_doc)/asir-contrib
1.5       takayama   19: OpenXM_doc=$(OpenXM_ROOT)/doc
                     20: DVIPS=dvips -f
1.9       noro       21: OXWEAVE= ../../../kxx/oxweave
1.15    ! takayama   22: TEXI2HTML=texi2html -menu -split_node
1.5       takayama   23:
1.15    ! takayama   24: JPSRCS= oxxm.texi oxmath.texi oxphc.texi oxgnuplot.texi oxsm1.texi oxom.texi dsolv-jp.texi longname-jp.texi oxtigers-jp.texi names-ja.texi hypergeometric-ja.texi
        !            25: EGSRCS= oxxm-eg.texi oxmath-eg.texi oxphc-eg.texi oxgnuplot-eg.texi oxsm1-eg.texi oxom-eg.texi dsolv-eg.texi longname-eg.texi oxtigers-eg.texi names-en.texi hypergeometric-en.texi
1.6       takayama   26:
1.3       noro       27: all : $(JPSRCS) $(EGSRCS)
1.6       takayama   28: install : install-document install-help
1.1       takayama   29:
1.15    ! takayama   30: names-ja.texi : names.oxweave
        !            31:        /bin/rm -f names-ja.texi
        !            32:        $(OXWEAVE) C ja  <names.oxweave >names-ja.texi
        !            33:
        !            34: names-en.texi : names.oxweave
        !            35:        /bin/rm -f names-en.texi
        !            36:        $(OXWEAVE) C ja  <names.oxweave >names-en.texi
        !            37:
        !            38: hypergeometric-ja.texi : hypergeometric.oxweave
        !            39:        /bin/rm -f hypergeometric-ja.texi
        !            40:        $(OXWEAVE) C ja  <hypergeometric.oxweave >hypergeometric-ja.texi
        !            41:
        !            42: hypergeometric-en.texi : hypergeometric.oxweave
        !            43:        /bin/rm -f hypergeometric-en.texi
        !            44:        $(OXWEAVE) C ja  <hypergeometric.oxweave >hypergeometric-en.texi
        !            45:
1.1       takayama   46: oxxm.texi : $(ASIRLIB)/xm Makefile
                     47:        /bin/rm -f oxxm.texi
1.9       noro       48:        $(OXWEAVE) C-texi jp-texi  <$(ASIRLIB)/xm >oxxm.texi
1.1       takayama   49:
                     50: oxxm-eg.texi : $(ASIRLIB)/xm Makefile
                     51:        /bin/rm -f oxxm-eg.texi
1.9       noro       52:        $(OXWEAVE) C-texi eg-texi  <$(ASIRLIB)/xm >oxxm-eg.texi
1.1       takayama   53:
                     54: oxmath.texi : $(CONTRIB)/m Makefile
                     55:        /bin/rm -f oxmath.texi
1.9       noro       56:        $(OXWEAVE) C-texi jp-texi  <$(CONTRIB)/m >oxmath.texi
1.1       takayama   57:
                     58: oxmath-eg.texi : $(CONTRIB)/m Makefile
                     59:        /bin/rm -f oxmath-eg.texi
1.9       noro       60:        $(OXWEAVE) C-texi eg-texi  <$(CONTRIB)/m >oxmath-eg.texi
1.1       takayama   61:
                     62: oxphc.texi : $(CONTRIB)/phc Makefile
                     63:        /bin/rm -f oxphc.texi
1.9       noro       64:        $(OXWEAVE) C-texi jp-texi  <$(CONTRIB)/phc >oxphc.texi
1.1       takayama   65:
                     66: oxphc-eg.texi : $(CONTRIB)/phc Makefile
                     67:        /bin/rm -f oxphc-eg.texi
1.9       noro       68:        $(OXWEAVE) C-texi eg-texi  <$(CONTRIB)/phc >oxphc-eg.texi
1.1       takayama   69:
                     70: oxgnuplot.texi : $(CONTRIB)/gnuplot Makefile
                     71:        /bin/rm -f oxgnuplot.texi
1.9       noro       72:        $(OXWEAVE) C-texi jp-texi  <$(CONTRIB)/gnuplot >oxgnuplot.texi
1.1       takayama   73:
                     74: oxgnuplot-eg.texi : $(CONTRIB)/gnuplot Makefile
                     75:        /bin/rm -f oxgnuplot-eg.texi
1.9       noro       76:        $(OXWEAVE) C-texi eg-texi  <$(CONTRIB)/gnuplot >oxgnuplot-eg.texi
1.1       takayama   77:
                     78: oxsm1.texi : $(CONTRIB)/sm1 Makefile
                     79:        /bin/rm -f oxsm1.texi
1.9       noro       80:        $(OXWEAVE) C-texi jp-texi  <$(CONTRIB)/sm1 >oxsm1.texi
1.1       takayama   81:
                     82: oxsm1-eg.texi : $(CONTRIB)/sm1 Makefile
                     83:        /bin/rm -f oxsm1-eg.texi
1.9       noro       84:        $(OXWEAVE) C-texi eg-texi  <$(CONTRIB)/sm1 >oxsm1-eg.texi
1.1       takayama   85:
                     86: oxom.texi : $(CONTRIB)/om Makefile
                     87:        /bin/rm -f oxom.texi
1.9       noro       88:        $(OXWEAVE) C-texi jp-texi  <$(CONTRIB)/om >oxom.texi
1.1       takayama   89:
                     90: oxom-eg.texi : $(CONTRIB)/om Makefile
                     91:        /bin/rm -f oxom-eg.texi
1.9       noro       92:        $(OXWEAVE) C-texi eg-texi  <$(CONTRIB)/om >oxom-eg.texi
1.1       takayama   93:
1.11      takayama   94: dsolv-jp.texi : dsolv.oxweave Makefile
                     95:        /bin/rm -f dsolv-jp.texi
                     96:        $(OXWEAVE) C-texi jp-texi  <dsolv.oxweave >dsolv-jp.texi
                     97:
                     98: dsolv-eg.texi : dsolv.oxweave Makefile
                     99:        /bin/rm -f dsolv-eg.texi
                    100:        $(OXWEAVE) C-texi eg-texi  <dsolv.oxweave >dsolv-eg.texi
                    101:
1.12      takayama  102: longname-jp.texi : $(CONTRIB)/longname Makefile
                    103:        /bin/rm -f longname-jp.texi
                    104:        $(OXWEAVE) C-texi jp-texi  <$(CONTRIB)/longname >longname-jp.texi
                    105:
                    106: longname-eg.texi : $(CONTRIB)/longname Makefile
                    107:        /bin/rm -f longname-eg.texi
                    108:        $(OXWEAVE) C-texi eg-texi  <$(CONTRIB)/longname >longname-eg.texi
                    109:
1.13      takayama  110: oxtigers-jp.texi : $(CONTRIB)/tigers Makefile
                    111:        /bin/rm -f oxtigers-jp.texi
                    112:        $(OXWEAVE) C-texi jp-texi  <$(CONTRIB)/tigers >oxtigers-jp.texi
                    113:
                    114: oxtigers-eg.texi : $(CONTRIB)/tigers Makefile
                    115:        /bin/rm -f oxtigers-eg.texi
                    116:        $(OXWEAVE) C-texi eg-texi  <$(CONTRIB)/tigers >oxtigers-eg.texi
                    117:
1.3       noro      118: help-eg: $(EGSRCS) $(ASIRDOC)/extract_func
                    119:        -rm -rf tmp help-eg
                    120:        mkdir help-eg tmp
                    121:        cp cman-eg.texi $(EGSRCS) tmp
                    122:        -(cd tmp; makeinfo --force cman-eg.texi)
1.5       takayama  123:        (cd help-eg; for i in ../tmp/asir-contrib*; do ../$(ASIRDOC)/extract_func $$i; done)
1.14      takayama  124: ## duplicate some help files
                    125:        -(cd help-eg; cp sm1_hilbert hilbert_polynomial)
1.3       noro      126:
                    127: help-jp: $(JPSRCS) $(ASIRDOC)/extract_func
                    128:        -rm -rf tmp help-jp
                    129:        mkdir help-jp tmp
                    130:        for i in cman.texi $(JPSRCS); do nkf -e $$i > tmp/$$i; done
                    131:        -(cd tmp; makeinfo --force cman.texi)
1.10      noro      132:        (cd help-jp; for i in ../tmp/asir-contrib*; do ../$(ASIRDOC)/extract_func -j $$i; done)
1.14      takayama  133: ## duplicate some help files
                    134:        -(cd help-jp; cp sm1_hilbert hilbert_polynomial)
1.3       noro      135:
1.15    ! takayama  136: html-en: help-eg
        !           137:        -rm -rf html-en
        !           138:        -mkdir html-en
        !           139:        -cp tmp/*.texi html-en
        !           140:        -(cd html-en; ${TEXI2HTML} cman-eg.texi)
        !           141:
        !           142: html-ja: help-jp
        !           143:        -mkdir html-ja
        !           144:        -cp tmp/*.texi html-ja
        !           145:        -cp tmp/cman.texi html-ja/cman-ja.texi
        !           146:        -(cd html-ja; ${TEXI2HTML} cman-ja.texi)
        !           147:
1.3       noro      148: help: help-eg help-jp
1.4       takayama  149:
                    150: install-help: help
1.6       takayama  151:        /bin/rm -rf $(OpenXM_ROOT)/lib/asir/help-jp/xm.help
1.5       takayama  152:        mkdir $(OpenXM_ROOT)/lib/asir/help-jp/xm.help
1.7       takayama  153:        -cp -f help-jp/* $(OpenXM_ROOT)/lib/asir/help-jp/xm.help
1.6       takayama  154:        /bin/rm -rf $(OpenXM_ROOT)/lib/asir/help-eg/xm.help
1.5       takayama  155:        mkdir $(OpenXM_ROOT)/lib/asir/help-eg/xm.help
1.7       takayama  156:        -cp -f help-eg/* $(OpenXM_ROOT)/lib/asir/help-eg/xm.help
1.5       takayama  157:
1.15    ! takayama  158: install-html-help: html-en html-ja
        !           159:        -( tar cf - html-en | (cd $(OpenXM_doc)/asir-contrib ; tar xf -))
        !           160:        -( tar cf - html-ja | (cd $(OpenXM_doc)/asir-contrib ; tar xf -))
        !           161:
1.5       takayama  162: install-document : all clean-document
                    163:        -ptex cman.texi
                    164:        -ptex cman.texi
1.8       takayama  165:        -cp cman.dvi $(OpenXM_doc)/asir-contrib/cman-jp.dvi
1.5       takayama  166:        -$(DVIPS) cman >$(OpenXM_doc)/asir-contrib/cman-jp.ps
                    167:        -tex cman-eg.texi
                    168:        -tex cman-eg.texi
1.8       takayama  169:        -cp cman-eg.dvi $(OpenXM_doc)/asir-contrib/cman-eg.dvi
1.5       takayama  170:        -$(DVIPS) cman-eg >$(OpenXM_doc)/asir-contrib/cman-eg.ps
                    171:
                    172:
                    173: clean-document :
                    174:        /bin/rm -rf $(OpenXM_doc)/asir-contrib
                    175:        mkdir $(OpenXM_doc)/asir-contrib
                    176:        touch $(OpenXM_doc)/asir-contrib/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED.
                    177:
1.3       noro      178:
1.1       takayama  179: clean :
1.15    ! takayama  180:        /bin/rm -f oxxm.texi oxxm-eg.texi oxmath.texi *~ *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr oxmath-eg.texi oxphc.texi oxphc-eg.texi oxgnuplot.texi oxgnuplot-eg.texi oxsm1.texi oxsm1-eg.texi oxom-eg.texi oxom.texi dsolv-jp.texi dsolv-eg.texi longname-jp.texi longname-eg.texi oxtigers-jp.texi oxtigers-eg.texi names-ja.texi names-en.texi hypergeometric-ja.texi hypergeometric-en.texi
        !           181:        /bin/rm -rf help-jp help-eg tmp html-en html-ja

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