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

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

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