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

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

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