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

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

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