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

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

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