[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / asir-doc

Annotation of OpenXM/src/asir-doc/Makefile, Revision 1.4

1.4     ! noro        1: # $OpenXM: OpenXM/src/asir-doc/Makefile,v 1.3 1999/12/26 02:56:03 takayama Exp $
1.2       noro        2:
                      3: all-eg: texindex man-eg.dvi help-eg html-eg
                      4: all-jp: texindex man-jp.dvi help-jp html-jp
                      5:
1.1       noro        6: texindex:
                      7:        (cd jtexindex/C; ./configure; make)
                      8:
                      9: BUILTINS=\
                     10:        parts/builtin/array.texi parts/builtin/bit.texi\
                     11:        parts/builtin/function.texi parts/builtin/io.texi\
                     12:        parts/builtin/list.texi parts/builtin/misc.texi\
                     13:        parts/builtin/num.texi parts/builtin/poly.texi\
                     14:        parts/builtin/string.texi\
                     15:        parts/builtin/type.texi parts/builtin/upoly.texi
                     16:
                     17: PARTS=\
                     18:        parts/algnum.texi parts/appendix.texi parts/asir.texi\
                     19:        parts/builtin.texi parts/debug.texi\
                     20:        parts/process.texi\
                     21:        parts/ff.texi parts/groebner.texi\
                     22:        parts/intro.texi parts/risa.texi parts/type.texi
                     23:
                     24: SRCS=man.texi $(PARTS) $(BUILTINS)
                     25:
1.2       noro       26: tmpJP: $(SRCS) extract_man
                     27:        -rm -rf tmpJP
                     28:        mkdir tmpJP tmpJP/parts tmpJP/parts/builtin
                     29:        cp jtexinfo.tex texinfo-js.tex tmpJP
1.3       takayama   30:        for i in ${SRCS}; do ./extract_man JP $$i > tmpJP/$$i; done
1.2       noro       31:
                     32: tmpJPeuc: $(SRCS) extract_man
                     33:        -rm -rf tmpJPeuc
                     34:        mkdir tmpJPeuc tmpJPeuc/parts tmpJPeuc/parts/builtin
                     35:        cp jtexinfo.tex texinfo-js.tex tmpJPeuc
1.3       takayama   36:        for i in ${SRCS}; do ./extract_man JP $$i | nkf -e > tmpJPeuc/$$i; done
1.2       noro       37:
                     38: tmpJPhtml: $(SRCS) extract_man
                     39:        -rm -rf tmpJPhtml
                     40:        mkdir tmpJPhtml tmpJPhtml/parts tmpJPhtml/parts/builtin
                     41:        cp jtexinfo.tex texinfo-js.tex tmpJPhtml
1.3       takayama   42:        for i in ${SRCS}; do ./extract_man JP $$i | nkf -e | sed -e "s/@fref/@ref/g" > tmpJPhtml/$$i; done
1.2       noro       43:
                     44: tmpEG: $(SRCS) extract_man
                     45:        -rm -rf tmpEG
                     46:        mkdir tmpEG tmpEG/parts tmpEG/parts/builtin
                     47:        cp texinfo.tex tmpEG
1.3       takayama   48:        for i in ${SRCS}; do ./extract_man EG $$i > tmpEG/$$i; done
1.2       noro       49:
                     50: tmpEGhtml: $(SRCS) extract_man
                     51:        -rm -rf tmpEGhtml
                     52:        mkdir tmpEGhtml tmpEGhtml/parts tmpEGhtml/parts/builtin
                     53:        cp texinfo.tex tmpEG
1.3       takayama   54:        for i in ${SRCS}; do ./extract_man EG $$i | sed -e "s/@fref/@ref/g" > tmpEGhtml/$$i; done
1.2       noro       55:
                     56: man-jp.dvi: tmpJP texindex
                     57:        -rm man-jp.dvi
                     58:        (cd tmpJP; ptex man.texi; ../jtexindex/C/texindex man.??; ptex man.texi)
                     59:        mv tmpJP/man.dvi man-jp.dvi
                     60:
                     61: man-eg.dvi: tmpEG texindex
                     62:        -rm man-eg.dvi
                     63:        (cd tmpEG; ptex man.texi; ../jtexindex/C/texindex man.??; tex man.texi)
                     64:        mv tmpEG/man.dvi man-eg.dvi
                     65:
                     66: help-jp: tmpJPeuc extract_func
                     67:        -rm -rf help-jp
                     68:        mkdir help-jp
                     69:        (cd tmpJPeuc; makeinfo man.texi)
                     70:        (cd help-jp; for i in ../tmpJPeuc/risaman*; do ../extract_func $$i; done)
                     71:
                     72: help-eg: tmpEG extract_func
                     73:        -rm -rf help-eg
                     74:        mkdir help-eg
                     75:        (cd tmpEG; makeinfo man.texi)
                     76:        (cd help-eg; for i in ../tmpEG/risaman*; do ../extract_func $$i; done)
                     77:
                     78: html-jp: tmpJPhtml
                     79:        -rm -rf html-jp
                     80:        mkdir html-jp
                     81:        (cd html-jp; texi2html -menu -split_node ../tmpJPhtml/man.texi)
                     82:
                     83: html-eg: tmpEGhtml
                     84:        -rm -rf html-eg
                     85:        mkdir html-eg
                     86:        (cd html-eg; texi2html -menu -split_node ../tmpEGhtml/man.texi)
1.1       noro       87:
                     88: extract_func: extract_func.c
                     89:        gcc -o extract_func extract_func.c
                     90:
1.2       noro       91: extract_man: extract_man.c
                     92:        gcc -o extract_man extract_man.c
                     93:
1.4     ! noro       94: targzuu: help-eg help-jp html-eg html-jp
        !            95:        tar cf - help-eg | gzip -9 | uuencode help-eg.tgz > help-eg.uu
        !            96:        tar cf - help-jp | gzip -9 | uuencode help-jp.tgz > help-jp.uu
        !            97:        tar cf - html-eg | gzip -9 | uuencode html-eg.tgz > html-eg.uu
        !            98:        tar cf - html-jp | gzip -9 | uuencode html-jp.tgz > html-jp.uu
        !            99:
1.1       noro      100: clean:
                    101:        (cd jtexindex/C; make clean)
1.2       noro      102:        rm -f man*.dvi man-jp.dvi extract_man extract_func
                    103:        rm -rf tmp*
                    104:        rm -rf help-*
                    105:        rm -rf html-*

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