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

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

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