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

1.5     ! takayama    1: # $OpenXM: OpenXM/src/asir-doc/Makefile.in,v 1.4 2004/09/10 08:24:02 noro 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:
                     15: all2: all-eg all-jp
1.2       takayama   16: install2: install-eg install-jp install-man-pages
1.1       takayama   17:
                     18: all-eg: texindex extract_man extract_func man-eg.dvi help-eg html-eg
                     19: all-jp: texindex extract_man extract_func man-jp.dvi help-jp html-jp html-internal-ja html-exp-ja
                     20:
                     21: install-eg: all-eg
                     22:        -rm -r -f ${OpenXM_lib_asir}/help-eg
                     23:        -tar cf - help-eg | (cd ${OpenXM_lib_asir}; tar xf - )
                     24:        -mkdir ${OpenXM_doc_asir2000}
                     25:        -rm -r -f ${OpenXM_doc_asir2000}/html-eg
                     26:        -tar cf - html-eg | ( cd ${OpenXM_doc_asir2000}; tar xf - )
                     27:        -cp man-eg.dvi ${OpenXM_doc_asir2000}
                     28:
                     29: install-jp: all-jp
                     30:        -rm -r -f ${OpenXM_lib_asir}/help-jp
                     31:        -tar cf - help-jp | (cd ${OpenXM_lib_asir}; tar xf - )
                     32:        -mkdir ${OpenXM_doc_asir2000}
                     33:        -rm -r -f ${OpenXM_doc_asir2000}/html-jp
                     34:        -tar cf - html-jp | ( cd ${OpenXM_doc_asir2000}; tar xf - )
                     35:        -cp man-jp.dvi ${OpenXM_doc_asir2000}
                     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:
                     92: tmpJP: $(SRCS)
                     93:        -rm -rf tmpJP
                     94:        -mkdir tmpJP tmpJP/parts tmpJP/parts/builtin
                     95:        -cp texinfo.* txi*tex tmpJP
                     96:        -for i in ${SRCS}; do ./extract_man JP $$i > tmpJP/$$i; done
                     97:
                     98: tmpJPeuc: $(SRCS)
                     99:        -rm -rf tmpJPeuc
                    100:        -mkdir tmpJPeuc tmpJPeuc/parts tmpJPeuc/parts/builtin
                    101:        -cp texinfo.* txi*tex tmpJPeuc
                    102:        -for i in ${SRCS}; do \
                    103:          ./extract_man JP $$i | nkf -e > tmpJPeuc/$$i; \
                    104:        done
                    105:
                    106: tmpJPhtml: $(SRCS)
                    107:        -rm -rf tmpJPhtml
                    108:        -mkdir tmpJPhtml tmpJPhtml/parts tmpJPhtml/parts/builtin
                    109:        -cp texinfo.* txi*tex tmpJPhtml
                    110:        -for i in ${SRCS}; do \
                    111:          ./extract_man JP $$i | nkf -e | sed -e "s/@fref/@ref/g" > tmpJPhtml/$$i; \
                    112:        done
                    113:
                    114: tmpEG: $(SRCS)
                    115:        -rm -rf tmpEG
                    116:        -mkdir tmpEG tmpEG/parts tmpEG/parts/builtin
                    117:        -cp texinfo.* txi*tex tmpEG
                    118:        -for i in ${SRCS}; do ./extract_man EG $$i > tmpEG/$$i; done
                    119:
                    120: tmpEGhtml: $(SRCS)
                    121:        -rm -rf tmpEGhtml
                    122:        -mkdir tmpEGhtml tmpEGhtml/parts tmpEGhtml/parts/builtin
                    123:        -cp texinfo.* txi*tex tmpEG
                    124:        -for i in ${SRCS}; do \
                    125:                ./extract_man EG $$i | sed -e "s/@fref/@ref/g" > tmpEGhtml/$$i;\
                    126:        done
                    127:
                    128: tmp-internal-JAhtml: $(INTERNAL_SRCS)
                    129:        -rm -rf tmp-internal-JAhtml
                    130:        -mkdir tmp-internal-JAhtml tmp-internal-JAhtml/int-parts tmp-internal-JAhtml/int-parts/datatype
                    131:        -cp texinfo.* txi*tex tmp-internal-JAhtml
                    132:        -for i in ${INTERNAL_SRCS}; do \
                    133:          ./extract_man JP $$i | nkf -e | sed -e "s/@fref/@ref/g" > tmp-internal-JAhtml/$$i; \
                    134:        done
                    135:
                    136: man-jp.dvi: tmpJP
                    137:        -rm man-jp.dvi
1.5     ! takayama  138:        -(cd tmpJP; ${PTEX} man.texi; ../jtexindex/C/texindex man.??; ${PTEX} man.texi)
1.1       takayama  139:        -mv tmpJP/man.dvi man-jp.dvi
                    140:        -touch man-jp.dvi
                    141:
                    142: man-eg.dvi: tmpEG
                    143:        -rm man-eg.dvi
                    144:        -(cd tmpEG; tex man.texi; ../jtexindex/C/texindex man.??; tex man.texi)
                    145:        -(cd tmpEG; makeinfo man.texi)
                    146:        -mv tmpEG/man.dvi man-eg.dvi
                    147:        -touch man-eg.dvi
                    148:
                    149: man-jp.pdf: man-jp.dvi
                    150:        ${DVIPDF} man-jp.dvi
                    151:
                    152: man-eg.pdf: man-eg.dvi
                    153:        ${DVIPDF} man-eg.dvi
                    154:
                    155: help-jp: tmpJPeuc man-jp.dvi
                    156:        -rm -rf help-jp
                    157:        -mkdir help-jp
                    158:        -(cd tmpJPeuc; makeinfo man.texi)
                    159:        -(cd help-jp; for i in ../tmpJPeuc/risaman*; do ../extract_func -j $$i; done)
                    160:
                    161: help-eg: tmpEG man-eg.dvi
                    162:        -rm -rf help-eg
                    163:        -mkdir help-eg
                    164:        -(cd help-eg; for i in ../tmpEG/risaman*; do ../extract_func $$i; done)
                    165:
                    166: html-jp: tmpJPhtml
                    167:        -rm -rf html-jp
                    168:        -mkdir html-jp
1.4       noro      169:        -(cd html-jp; ../texi2html -menu -split_node ../tmpJPhtml/man.texi)
1.1       takayama  170:
                    171: html-eg: tmpEGhtml
                    172:        -rm -rf html-eg
                    173:        -mkdir html-eg
1.4       noro      174:        -(cd html-eg; ../texi2html -menu -split_node ../tmpEGhtml/man.texi)
1.1       takayama  175:
                    176: html-win: html-jp gen_hh
                    177:        -rm -rf html-win
                    178:        -mkdir html-win
                    179:        (cd html-jp; for i in *; do nkf -s $$i > ../html-win/$$i; done)
                    180:        gen_hh html-win html-win
                    181:
                    182: html-win-eg: html-eg gen_hh
                    183:        -rm -rf html-win-eg
                    184:        -mkdir html-win-eg
                    185:        (cd html-eg; for i in *; do nkf -s $$i > ../html-win-eg/$$i; done)
                    186:        gen_hh html-win-eg html-win-eg
                    187:
                    188: html-internal-ja: tmp-internal-JAhtml
                    189:        -rm -rf html-internal-ja
                    190:        -mkdir html-internal-ja
1.4       noro      191:        -(cd html-internal-ja; ../texi2html ../tmp-internal-JAhtml/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:
                    199: internal-jp.dvi: tmp-internal-JAhtml
                    200:        -rm internal-jp.dvi
1.5     ! takayama  201:        -(cd tmp-internal-JAhtml; ${PTEX} internal.texi; ../jtexindex/C/texindex internal.??; ${PTEX} internal.texi)
1.1       takayama  202:        -mv tmp-internal-JAhtml/internal.dvi internal-jp.dvi
                    203:        -touch internal-jp.dvi
                    204: extract_func: extract_func.c
                    205:        ${CC} -o extract_func extract_func.c
                    206:
                    207: extract_man: extract_man.c
                    208:        ${CC} -o extract_man extract_man.c
                    209:
                    210: gen_hh: html_tools/gen_hh.c
                    211:        ${CC} -o gen_hh html_tools/gen_hh.c
                    212:
                    213: targzuu: help-eg help-jp html-eg html-jp
                    214:        -tar cf - help-eg | gzip -9 | uuencode help-eg.tgz > help-eg.uu
                    215:        -tar cf - help-jp | gzip -9 | uuencode help-jp.tgz > help-jp.uu
                    216:        -tar cf - html-eg | gzip -9 | uuencode html-eg.tgz > html-eg.uu
                    217:        -tar cf - html-jp | gzip -9 | uuencode html-jp.tgz > html-jp.uu
                    218:
                    219: clean:
                    220:        (cd jtexindex/C; make clean)
                    221:        -rm -f man*.dvi man*.pdf extract_man extract_func gen_hh .*done
                    222:        -rm -f internal-jp.dvi
                    223:        -rm -rf tmp*
                    224:        -rm -rf help-*
                    225:        -rm -rf html-*

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