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

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

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