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

Annotation of OpenXM/src/asir-doc/Makefile.in, Revision 1.6

1.6     ! ohara       1: # $OpenXM: OpenXM/src/asir-doc/Makefile.in,v 1.5 2007/09/29 05:17:08 takayama Exp $
1.1       takayama    2: OpenXM_HOME=@prefix@
                      3: OpenXM_doc_asir2000=${OpenXM_HOME}/doc/asir2000
                      4: OpenXM_lib_asir=${OpenXM_HOME}/lib/asir
                      5: OpenXM_man=${OpenXM_HOME}/man/man1
                      6: CC=@CC@
1.5       takayama    7: PTEX=@PTEX@
1.1       takayama    8: DVIPDF=dvipdfmx
                      9:
1.3       takayama   10: all: update-makefile
1.1       takayama   11:        if [ ! -f .make_done ]; then make all2 ; touch .make_done ; fi
                     12: install:
                     13:        if [ ! -f .install_done ] ; then make install2 ; touch .install_done ; fi
                     14:
1.6     ! ohara      15: all2: all-en all-ja
        !            16: install2: install-en install-ja install-man-pages
1.1       takayama   17:
1.6     ! ohara      18: all-en: texindex extract_man extract_func man-en.dvi help-en html-en
        !            19: all-ja: texindex extract_man extract_func man-ja.dvi help-ja html-ja html-internal-ja html-exp-ja
1.1       takayama   20:
1.6     ! ohara      21: install-en: all-en
        !            22:        -rm -r -f ${OpenXM_lib_asir}/help-en
        !            23:        -tar cf - help-en | (cd ${OpenXM_lib_asir}; tar xf - )
1.1       takayama   24:        -mkdir ${OpenXM_doc_asir2000}
1.6     ! ohara      25:        -rm -r -f ${OpenXM_doc_asir2000}/html-en
        !            26:        -tar cf - html-en | ( cd ${OpenXM_doc_asir2000}; tar xf - )
        !            27:        -cp man-en.dvi ${OpenXM_doc_asir2000}
        !            28:
        !            29: install-ja: all-ja
        !            30:        -rm -r -f ${OpenXM_lib_asir}/help-ja
        !            31:        -tar cf - help-ja | (cd ${OpenXM_lib_asir}; tar xf - )
1.1       takayama   32:        -mkdir ${OpenXM_doc_asir2000}
1.6     ! ohara      33:        -rm -r -f ${OpenXM_doc_asir2000}/html-ja
        !            34:        -tar cf - html-ja | ( cd ${OpenXM_doc_asir2000}; tar xf - )
        !            35:        -cp man-ja.dvi ${OpenXM_doc_asir2000}
1.1       takayama   36:        -tar cf - html-internal-ja | ( cd ${OpenXM_doc_asir2000}; tar xf - )
                     37:        -tar cf - html-exp-ja | ( cd ${OpenXM_doc_asir2000}; tar xf - )
                     38:
                     39: install-man-pages:
1.2       takayama   40:        -install asir.1 ${OpenXM_man}
1.3       takayama   41:
                     42: update-makefile: Makefile
                     43: Makefile: Makefile.in
                     44:        (rm -f .configure_done ; ./make-configure)
1.1       takayama   45:
                     46: configure:
                     47:        (cd jtexindex/C; ./configure; make clean)
                     48:
                     49: texindex:
                     50:        (cd jtexindex/C; make)
                     51:
                     52: nkf:
                     53:        (cd nkf-1.7; make)
                     54:
                     55: BUILTINS=\
                     56:        parts/builtin/array.texi parts/builtin/bit.texi\
                     57:        parts/builtin/function.texi parts/builtin/io.texi\
                     58:        parts/builtin/list.texi parts/builtin/misc.texi\
                     59:        parts/builtin/num.texi parts/builtin/poly.texi\
                     60:        parts/builtin/string.texi parts/builtin/numeric.texi\
                     61:        parts/builtin/type.texi parts/builtin/upoly.texi\
                     62:        parts/builtin/structure.texi parts/builtin/module.texi
                     63:
                     64: PARTS=\
                     65:        parts/algnum.texi parts/appendix.texi parts/asir.texi\
                     66:        parts/builtin.texi parts/debug.texi\
                     67:        parts/process.texi\
                     68:        parts/ff.texi parts/groebner.texi\
                     69:        parts/intro.texi parts/risa.texi parts/type.texi
                     70:
                     71: SRCS=man.texi $(PARTS) $(BUILTINS)
                     72:
                     73: INTERNAL_SRCS=internal.texi int-parts/datatype.texi int-parts/gc.texi\
                     74:     int-parts/inter.texi int-parts/intro.texi int-parts/macro.texi\
                     75:     int-parts/operation.texi int-parts/parser.texi int-parts/port.texi\
                     76:     int-parts/datatype/algnum.texi\
                     77:     int-parts/datatype/char2ff.texi\
                     78:     int-parts/datatype/dpoly.texi\
                     79:     int-parts/datatype/float.texi\
                     80:     int-parts/datatype/largeff.texi\
                     81:     int-parts/datatype/list.texi\
                     82:     int-parts/datatype/mat.texi\
                     83:     int-parts/datatype/number.texi\
                     84:     int-parts/datatype/poly.texi\
                     85:     int-parts/datatype/ratexp.texi\
                     86:     int-parts/datatype/ratnum.texi\
                     87:     int-parts/datatype/risaobj.texi\
                     88:     int-parts/datatype/smallff.texi\
                     89:     int-parts/datatype/string.texi\
                     90:     int-parts/datatype/vect.texi
                     91:
1.6     ! ohara      92: tmp-ja: ${SRCS}
        !            93:        -rm -rf tmp-ja
        !            94:        -mkdir tmp-ja tmp-ja/parts tmp-ja/parts/builtin
        !            95:        -cp texinfo.* txi*tex tmp-ja
        !            96:        -for i in ${SRCS}; do ./extract_man ja $$i > tmp-ja/$$i; done
        !            97:
        !            98: tmp-ja_euc: ${SRCS}
        !            99:        -rm -rf tmp-ja_euc
        !           100:        -mkdir tmp-ja_euc tmp-ja_euc/parts tmp-ja_euc/parts/builtin
        !           101:        -cp texinfo.* txi*tex tmp-ja_euc
1.1       takayama  102:        -for i in ${SRCS}; do \
1.6     ! ohara     103:          ./extract_man ja $$i | nkf -e > tmp-ja_euc/$$i; \
1.1       takayama  104:        done
                    105:
1.6     ! ohara     106: tmp-html-ja: ${SRCS}
        !           107:        -rm -rf tmp-html-ja
        !           108:        -mkdir tmp-html-ja tmp-html-ja/parts tmp-html-ja/parts/builtin
        !           109:        -cp texinfo.* txi*tex tmp-html-ja
1.1       takayama  110:        -for i in ${SRCS}; do \
1.6     ! ohara     111:          ./extract_man ja $$i | nkf -e | sed -e "s/@fref/@ref/g" > tmp-html-ja/$$i; \
1.1       takayama  112:        done
                    113:
1.6     ! ohara     114: tmp-en: ${SRCS}
        !           115:        -rm -rf tmp-en
        !           116:        -mkdir tmp-en tmp-en/parts tmp-en/parts/builtin
        !           117:        -cp texinfo.* txi*tex tmp-en
        !           118:        -for i in ${SRCS}; do ./extract_man en $$i > tmp-en/$$i; done
        !           119:
        !           120: tmp-html-en: ${SRCS}
        !           121:        -rm -rf tmp-html-en
        !           122:        -mkdir tmp-html-en tmp-html-en/parts tmp-html-en/parts/builtin
        !           123:        -cp texinfo.* txi*tex tmp-en
1.1       takayama  124:        -for i in ${SRCS}; do \
1.6     ! ohara     125:                ./extract_man en $$i | sed -e "s/@fref/@ref/g" > tmp-html-en/$$i;\
1.1       takayama  126:        done
                    127:
1.6     ! ohara     128: tmp-html-internal-ja: ${INTERNAL_SRCS}
        !           129:        -rm -rf tmp-html-internal-ja
        !           130:        -mkdir tmp-html-internal-ja tmp-html-internal-ja/int-parts tmp-html-internal-ja/int-parts/datatype
        !           131:        -cp texinfo.* txi*tex tmp-html-internal-ja
1.1       takayama  132:        -for i in ${INTERNAL_SRCS}; do \
1.6     ! ohara     133:          ./extract_man ja $$i | nkf -e | sed -e "s/@fref/@ref/g" > tmp-html-internal-ja/$$i; \
1.1       takayama  134:        done
                    135:
1.6     ! ohara     136: man-ja.dvi: tmp-ja
        !           137:        -rm man-ja.dvi
        !           138:        -(cd tmp-ja; ${PTEX} man.texi; ../jtexindex/C/texindex man.??; ${PTEX} man.texi)
        !           139:        -mv tmp-ja/man.dvi man-ja.dvi
        !           140:        -touch man-ja.dvi
        !           141:
        !           142: man-en.dvi: tmp-en
        !           143:        -rm man-en.dvi
        !           144:        -(cd tmp-en; tex man.texi; ../jtexindex/C/texindex man.??; tex man.texi)
        !           145:        -(cd tmp-en; makeinfo man.texi)
        !           146:        -mv tmp-en/man.dvi man-en.dvi
        !           147:        -touch man-en.dvi
        !           148:
        !           149: man-ja.pdf: man-ja.dvi
        !           150:        ${DVIPDF} man-ja.dvi
        !           151:
        !           152: man-en.pdf: man-en.dvi
        !           153:        ${DVIPDF} man-en.dvi
        !           154:
        !           155: help-ja: tmp-ja_euc man-ja.dvi
        !           156:        -rm -rf help-ja
        !           157:        -mkdir help-ja
        !           158:        -(cd tmp-ja_euc; makeinfo man.texi)
        !           159:        -(cd help-ja; for i in ../tmp-ja_euc/risaman*; do ../extract_func -j $$i; done)
        !           160:
        !           161: help-en: tmp-en man-en.dvi
        !           162:        -rm -rf help-en
        !           163:        -mkdir help-en
        !           164:        -(cd help-en; for i in ../tmp-en/risaman*; do ../extract_func $$i; done)
        !           165:
        !           166: html-ja: tmp-html-ja
        !           167:        -rm -rf html-ja
        !           168:        -mkdir html-ja
        !           169:        -(cd html-ja; ../texi2html -menu -split_node ../tmp-html-ja/man.texi)
        !           170:
        !           171: html-en: tmp-html-en
        !           172:        -rm -rf html-en
        !           173:        -mkdir html-en
        !           174:        -(cd html-en; ../texi2html -menu -split_node ../tmp-html-en/man.texi)
1.1       takayama  175:
1.6     ! ohara     176: html-win: html-ja gen_hh
1.1       takayama  177:        -rm -rf html-win
                    178:        -mkdir html-win
1.6     ! ohara     179:        (cd html-ja; for i in *; do nkf -s $$i > ../html-win/$$i; done)
1.1       takayama  180:        gen_hh html-win html-win
                    181:
1.6     ! ohara     182: html-win-en: html-en gen_hh
        !           183:        -rm -rf html-win-en
        !           184:        -mkdir html-win-en
        !           185:        (cd html-en; for i in *; do nkf -s $$i > ../html-win-en/$$i; done)
        !           186:        gen_hh html-win-en html-win-en
1.1       takayama  187:
1.6     ! ohara     188: html-internal-ja: tmp-html-internal-ja
1.1       takayama  189:        -rm -rf html-internal-ja
                    190:        -mkdir html-internal-ja
1.6     ! ohara     191:        -(cd html-internal-ja; ../texi2html ../tmp-html-internal-ja/internal.texi)
1.1       takayama  192:
                    193: html-exp-ja: exp/exp-ja.texi
                    194:        -rm -rf html-exp-ja
                    195:        -mkdir html-exp-ja
                    196:        -nkf -e <exp/exp-ja.texi >html-exp-ja/exp-ja.texi
1.4       noro      197:        -(cd html-exp-ja; ../texi2html -menu -split_node exp-ja.texi)
1.1       takayama  198:
1.6     ! ohara     199: internal-ja.dvi: tmp-html-internal-ja
        !           200:        -rm internal-ja.dvi
        !           201:        -(cd tmp-html-internal-ja; ${PTEX} internal.texi; ../jtexindex/C/texindex internal.??; ${PTEX} internal.texi)
        !           202:        -mv tmp-html-internal-ja/internal.dvi internal-ja.dvi
        !           203:        -touch internal-ja.dvi
        !           204:
1.1       takayama  205: extract_func: extract_func.c
                    206:        ${CC} -o extract_func extract_func.c
                    207:
                    208: extract_man: extract_man.c
                    209:        ${CC} -o extract_man extract_man.c
                    210:
                    211: gen_hh: html_tools/gen_hh.c
                    212:        ${CC} -o gen_hh html_tools/gen_hh.c
                    213:
1.6     ! ohara     214: targzuu: help-en help-ja html-en html-ja
        !           215:        -tar cf - help-en | gzip -9 | uuencode help-en.tgz > help-en.uu
        !           216:        -tar cf - help-ja | gzip -9 | uuencode help-ja.tgz > help-ja.uu
        !           217:        -tar cf - html-en | gzip -9 | uuencode html-en.tgz > html-en.uu
        !           218:        -tar cf - html-ja | gzip -9 | uuencode html-ja.tgz > html-ja.uu
1.1       takayama  219:
                    220: clean:
                    221:        (cd jtexindex/C; make clean)
                    222:        -rm -f man*.dvi man*.pdf extract_man extract_func gen_hh .*done
1.6     ! ohara     223:        -rm -f internal-ja.dvi
1.1       takayama  224:        -rm -rf tmp*
                    225:        -rm -rf help-*
                    226:        -rm -rf html-*

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