[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.22

1.22    ! takayama    1: #$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile,v 1.21 2002/01/21 07:59:19 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.21      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 number-ja.texi calculus-ja.texi series-ja.texi matrix-ja.texi  graphic-ja.texi print-ja.texi poly-ja.texi complex-ja.texi intro.texi Diff.texi Dmodule.texi Matrix.texi base-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 number-en.texi calculus-en.texi series-en.texi matrix-en.texi  graphic-en.texi print-en.texi poly-en.texi complex-en.texi intro-eg.texi cman-eg.texi base-en.texi
1.6       takayama   26:
1.22    ! takayama   27: all : gentexi $(JPSRCS) $(EGSRCS)
1.18      takayama   28: install : install-document install-help install-html-help
1.1       takayama   29:
1.22    ! takayama   30: gentexi : gentexi.c
        !            31:        gcc -o gentexi gentexi.c
        !            32:
1.21      takayama   33: base-ja.texi : base.oxweave
                     34:        /bin/rm -f base-ja.texi
                     35:        $(OXWEAVE) C ja  <base.oxweave >base-ja.texi
                     36:
                     37: base-en.texi : base.oxweave
                     38:        /bin/rm -f base-en.texi
                     39:        $(OXWEAVE) C en  <base.oxweave >base-en.texi
                     40:
1.15      takayama   41: names-ja.texi : names.oxweave
                     42:        /bin/rm -f names-ja.texi
                     43:        $(OXWEAVE) C ja  <names.oxweave >names-ja.texi
                     44:
                     45: names-en.texi : names.oxweave
                     46:        /bin/rm -f names-en.texi
1.16      takayama   47:        $(OXWEAVE) C en  <names.oxweave >names-en.texi
1.15      takayama   48:
1.20      takayama   49: plucker-ja.texi : plucker.oxweave
                     50:        /bin/rm -f plucker-ja.texi
                     51:        $(OXWEAVE) C ja  <plucker.oxweave >plucker-ja.texi
                     52:
                     53: plucker-en.texi : plucker.oxweave
                     54:        /bin/rm -f plucker-en.texi
                     55:        $(OXWEAVE) C en  <plucker.oxweave >plucker-en.texi
                     56:
1.15      takayama   57: hypergeometric-ja.texi : hypergeometric.oxweave
                     58:        /bin/rm -f hypergeometric-ja.texi
                     59:        $(OXWEAVE) C ja  <hypergeometric.oxweave >hypergeometric-ja.texi
                     60:
                     61: hypergeometric-en.texi : hypergeometric.oxweave
                     62:        /bin/rm -f hypergeometric-en.texi
1.16      takayama   63:        $(OXWEAVE) C en  <hypergeometric.oxweave >hypergeometric-en.texi
                     64:
                     65: number-ja.texi : number.oxweave
                     66:        /bin/rm -f number-ja.texi
                     67:        $(OXWEAVE) C ja  <number.oxweave >number-ja.texi
                     68:
                     69: number-en.texi : number.oxweave
                     70:        /bin/rm -f number-en.texi
                     71:        $(OXWEAVE) C en  <number.oxweave >number-en.texi
                     72:
                     73: calculus-ja.texi : calculus.oxweave
                     74:        /bin/rm -f calculus-ja.texi
                     75:        $(OXWEAVE) C ja  <calculus.oxweave >calculus-ja.texi
                     76:
                     77: calculus-en.texi : calculus.oxweave
                     78:        /bin/rm -f calculus-en.texi
                     79:        $(OXWEAVE) C en  <calculus.oxweave >calculus-en.texi
                     80:
                     81: series-ja.texi : series.oxweave
                     82:        /bin/rm -f series-ja.texi
                     83:        $(OXWEAVE) C ja  <series.oxweave >series-ja.texi
                     84:
                     85: series-en.texi : series.oxweave
                     86:        /bin/rm -f series-en.texi
                     87:        $(OXWEAVE) C en  <series.oxweave >series-en.texi
                     88:
                     89: matrix-ja.texi : matrix.oxweave
                     90:        /bin/rm -f matrix-ja.texi
                     91:        $(OXWEAVE) C ja  <matrix.oxweave >matrix-ja.texi
                     92:
                     93: matrix-en.texi : matrix.oxweave
                     94:        /bin/rm -f matrix-en.texi
                     95:        $(OXWEAVE) C en  <matrix.oxweave >matrix-en.texi
                     96:
                     97: graphic-ja.texi : graphic.oxweave
                     98:        /bin/rm -f graphic-ja.texi
                     99:        $(OXWEAVE) C ja  <graphic.oxweave >graphic-ja.texi
                    100:
                    101: graphic-en.texi : graphic.oxweave
                    102:        /bin/rm -f graphic-en.texi
                    103:        $(OXWEAVE) C en  <graphic.oxweave >graphic-en.texi
                    104:
                    105: print-ja.texi : print.oxweave
                    106:        /bin/rm -f print-ja.texi
                    107:        $(OXWEAVE) C ja  <print.oxweave >print-ja.texi
                    108:
                    109: print-en.texi : print.oxweave
                    110:        /bin/rm -f print-en.texi
                    111:        $(OXWEAVE) C en  <print.oxweave >print-en.texi
                    112:
                    113: poly-ja.texi : poly.oxweave
                    114:        /bin/rm -f poly-ja.texi
                    115:        $(OXWEAVE) C ja  <poly.oxweave >poly-ja.texi
                    116:
                    117: poly-en.texi : poly.oxweave
                    118:        /bin/rm -f poly-en.texi
                    119:        $(OXWEAVE) C en  <poly.oxweave >poly-en.texi
                    120:
                    121: complex-ja.texi : complex.oxweave
                    122:        /bin/rm -f complex-ja.texi
                    123:        $(OXWEAVE) C ja  <complex.oxweave >complex-ja.texi
                    124:
                    125: complex-en.texi : complex.oxweave
                    126:        /bin/rm -f complex-en.texi
                    127:        $(OXWEAVE) C en  <complex.oxweave >complex-en.texi
                    128:
1.15      takayama  129:
1.1       takayama  130: oxxm.texi : $(ASIRLIB)/xm Makefile
                    131:        /bin/rm -f oxxm.texi
1.9       noro      132:        $(OXWEAVE) C-texi jp-texi  <$(ASIRLIB)/xm >oxxm.texi
1.1       takayama  133:
                    134: oxxm-eg.texi : $(ASIRLIB)/xm Makefile
                    135:        /bin/rm -f oxxm-eg.texi
1.9       noro      136:        $(OXWEAVE) C-texi eg-texi  <$(ASIRLIB)/xm >oxxm-eg.texi
1.1       takayama  137:
                    138: oxmath.texi : $(CONTRIB)/m Makefile
                    139:        /bin/rm -f oxmath.texi
1.9       noro      140:        $(OXWEAVE) C-texi jp-texi  <$(CONTRIB)/m >oxmath.texi
1.1       takayama  141:
                    142: oxmath-eg.texi : $(CONTRIB)/m Makefile
                    143:        /bin/rm -f oxmath-eg.texi
1.9       noro      144:        $(OXWEAVE) C-texi eg-texi  <$(CONTRIB)/m >oxmath-eg.texi
1.1       takayama  145:
                    146: oxphc.texi : $(CONTRIB)/phc Makefile
                    147:        /bin/rm -f oxphc.texi
1.9       noro      148:        $(OXWEAVE) C-texi jp-texi  <$(CONTRIB)/phc >oxphc.texi
1.1       takayama  149:
                    150: oxphc-eg.texi : $(CONTRIB)/phc Makefile
                    151:        /bin/rm -f oxphc-eg.texi
1.9       noro      152:        $(OXWEAVE) C-texi eg-texi  <$(CONTRIB)/phc >oxphc-eg.texi
1.1       takayama  153:
                    154: oxgnuplot.texi : $(CONTRIB)/gnuplot Makefile
                    155:        /bin/rm -f oxgnuplot.texi
1.9       noro      156:        $(OXWEAVE) C-texi jp-texi  <$(CONTRIB)/gnuplot >oxgnuplot.texi
1.1       takayama  157:
                    158: oxgnuplot-eg.texi : $(CONTRIB)/gnuplot Makefile
                    159:        /bin/rm -f oxgnuplot-eg.texi
1.9       noro      160:        $(OXWEAVE) C-texi eg-texi  <$(CONTRIB)/gnuplot >oxgnuplot-eg.texi
1.1       takayama  161:
1.19      takayama  162: oxsm1.texi : sm1.oxweave Makefile
1.1       takayama  163:        /bin/rm -f oxsm1.texi
1.19      takayama  164:        $(OXWEAVE) C-texi jp-texi  <sm1.oxweave >oxsm1.texi
1.1       takayama  165:
1.19      takayama  166: oxsm1-eg.texi : sm1.oxweave Makefile
1.1       takayama  167:        /bin/rm -f oxsm1-eg.texi
1.19      takayama  168:        $(OXWEAVE) C-texi eg-texi  <sm1.oxweave >oxsm1-eg.texi
1.1       takayama  169:
                    170: oxom.texi : $(CONTRIB)/om Makefile
                    171:        /bin/rm -f oxom.texi
1.9       noro      172:        $(OXWEAVE) C-texi jp-texi  <$(CONTRIB)/om >oxom.texi
1.1       takayama  173:
                    174: oxom-eg.texi : $(CONTRIB)/om Makefile
                    175:        /bin/rm -f oxom-eg.texi
1.9       noro      176:        $(OXWEAVE) C-texi eg-texi  <$(CONTRIB)/om >oxom-eg.texi
1.1       takayama  177:
1.11      takayama  178: dsolv-jp.texi : dsolv.oxweave Makefile
                    179:        /bin/rm -f dsolv-jp.texi
                    180:        $(OXWEAVE) C-texi jp-texi  <dsolv.oxweave >dsolv-jp.texi
                    181:
                    182: dsolv-eg.texi : dsolv.oxweave Makefile
                    183:        /bin/rm -f dsolv-eg.texi
                    184:        $(OXWEAVE) C-texi eg-texi  <dsolv.oxweave >dsolv-eg.texi
                    185:
1.12      takayama  186: longname-jp.texi : $(CONTRIB)/longname Makefile
                    187:        /bin/rm -f longname-jp.texi
                    188:        $(OXWEAVE) C-texi jp-texi  <$(CONTRIB)/longname >longname-jp.texi
                    189:
                    190: longname-eg.texi : $(CONTRIB)/longname Makefile
                    191:        /bin/rm -f longname-eg.texi
                    192:        $(OXWEAVE) C-texi eg-texi  <$(CONTRIB)/longname >longname-eg.texi
                    193:
1.13      takayama  194: oxtigers-jp.texi : $(CONTRIB)/tigers Makefile
                    195:        /bin/rm -f oxtigers-jp.texi
                    196:        $(OXWEAVE) C-texi jp-texi  <$(CONTRIB)/tigers >oxtigers-jp.texi
                    197:
                    198: oxtigers-eg.texi : $(CONTRIB)/tigers Makefile
                    199:        /bin/rm -f oxtigers-eg.texi
                    200:        $(OXWEAVE) C-texi eg-texi  <$(CONTRIB)/tigers >oxtigers-eg.texi
                    201:
1.18      takayama  202: gen-help-eg: $(EGSRCS) $(ASIRDOC)/extract_func
1.3       noro      203:        -rm -rf tmp help-eg
                    204:        mkdir help-eg tmp
                    205:        cp cman-eg.texi $(EGSRCS) tmp
                    206:        -(cd tmp; makeinfo --force cman-eg.texi)
1.5       takayama  207:        (cd help-eg; for i in ../tmp/asir-contrib*; do ../$(ASIRDOC)/extract_func $$i; done)
1.14      takayama  208: ## duplicate some help files
                    209:        -(cd help-eg; cp sm1_hilbert hilbert_polynomial)
1.3       noro      210:
1.18      takayama  211: gen-help-jp: $(JPSRCS) $(ASIRDOC)/extract_func
                    212:        -rm -rf tmp-ja help-jp
                    213:        mkdir help-jp tmp-ja
                    214:        for i in cman.texi $(JPSRCS); do nkf -e $$i > tmp-ja/$$i; done
                    215:        -(cd tmp-ja; makeinfo --force cman.texi)
                    216:        (cd help-jp; for i in ../tmp-ja/asir-contrib*; do ../$(ASIRDOC)/extract_func -j $$i; done)
1.14      takayama  217: ## duplicate some help files
                    218:        -(cd help-jp; cp sm1_hilbert hilbert_polynomial)
1.3       noro      219:
1.18      takayama  220: gen-html-en: gen-help-eg
1.15      takayama  221:        -rm -rf html-en
                    222:        -mkdir html-en
                    223:        -cp tmp/*.texi html-en
                    224:        -(cd html-en; ${TEXI2HTML} cman-eg.texi)
                    225:
1.18      takayama  226: gen-html-ja: gen-help-jp
1.15      takayama  227:        -mkdir html-ja
1.18      takayama  228:        -cp tmp-ja/*.texi html-ja
                    229:        -cp tmp-ja/cman.texi html-ja/cman-ja.texi
1.15      takayama  230:        -(cd html-ja; ${TEXI2HTML} cman-ja.texi)
                    231:
1.18      takayama  232: help: gen-help-eg gen-help-jp
1.4       takayama  233:
                    234: install-help: help
1.6       takayama  235:        /bin/rm -rf $(OpenXM_ROOT)/lib/asir/help-jp/xm.help
1.5       takayama  236:        mkdir $(OpenXM_ROOT)/lib/asir/help-jp/xm.help
1.7       takayama  237:        -cp -f help-jp/* $(OpenXM_ROOT)/lib/asir/help-jp/xm.help
1.6       takayama  238:        /bin/rm -rf $(OpenXM_ROOT)/lib/asir/help-eg/xm.help
1.5       takayama  239:        mkdir $(OpenXM_ROOT)/lib/asir/help-eg/xm.help
1.7       takayama  240:        -cp -f help-eg/* $(OpenXM_ROOT)/lib/asir/help-eg/xm.help
1.5       takayama  241:
1.18      takayama  242: install-html-help: gen-html-en gen-html-ja
1.15      takayama  243:        -( tar cf - html-en | (cd $(OpenXM_doc)/asir-contrib ; tar xf -))
                    244:        -( tar cf - html-ja | (cd $(OpenXM_doc)/asir-contrib ; tar xf -))
                    245:
1.5       takayama  246: install-document : all clean-document
                    247:        -ptex cman.texi
                    248:        -ptex cman.texi
1.8       takayama  249:        -cp cman.dvi $(OpenXM_doc)/asir-contrib/cman-jp.dvi
1.5       takayama  250:        -$(DVIPS) cman >$(OpenXM_doc)/asir-contrib/cman-jp.ps
                    251:        -tex cman-eg.texi
                    252:        -tex cman-eg.texi
1.8       takayama  253:        -cp cman-eg.dvi $(OpenXM_doc)/asir-contrib/cman-eg.dvi
1.5       takayama  254:        -$(DVIPS) cman-eg >$(OpenXM_doc)/asir-contrib/cman-eg.ps
                    255:
                    256:
                    257: clean-document :
                    258:        /bin/rm -rf $(OpenXM_doc)/asir-contrib
                    259:        mkdir $(OpenXM_doc)/asir-contrib
                    260:        touch $(OpenXM_doc)/asir-contrib/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED.
                    261:
1.3       noro      262:
1.1       takayama  263: clean :
1.22    ! takayama  264:        rm -f gentexi
        !           265:        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 number-en.texi number-ja.texi calculus-en.texi calculus-ja.texi series-en.texi series-ja.texi matrix-en.texi matrix-ja.texi graphic-en.texi graphic-ja.texi print-en.texi print-ja.texi poly-en.texi poly-ja.texi complex-en.texi complex-ja.texi plucker-ja.texi plucker-en.texi base-ja.texi base-en.texi
1.18      takayama  266:        /bin/rm -rf help-jp help-eg tmp tmp-ja html-en html-ja

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