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

Annotation of OpenXM/doc/OpenXM-specs/Makefile, Revision 1.13

1.13    ! takayama    1: #$OpenXM: OpenXM/doc/OpenXM-specs/Makefile,v 1.12 2003/03/26 06:19:04 takayama Exp $
1.1       noro        2: all : doc
                      3:
1.10      takayama    4: LATEX2HTML=latex2html -tmp /tmp
                      5: DVIPS=dvips -f
                      6: RSYNC=rsync -Cavz
                      7: CURRENT=/home/web/OpenXM/Current
1.11      takayama    8: NKF=nkf -e
1.10      takayama    9:
1.1       noro       10: OXWEAVE=../../src/kxx/oxweave
1.2       noro       11: OXWEAVEFLAG=--recursive --plain
1.11      takayama   12: OXREPLACE=../../src/util/oxreplace
1.6       noro       13: SRC= OpenXM.tex cmo-basic0.tex cmo-basic1.tex\
                     14: cmo-register.tex communication-model.tex control.tex\
                     15: error.tex formal-expression.tex howtowrite.tex\
                     16: implementation.tex introduction.tex library.tex\
                     17: ox-localdata.tex project.tex redefine.tex\
                     18: stackmachine.tex start-session.tex string-expression.tex
                     19:
1.9       takayama   20: SRC101=OX-RFC-101.tex
                     21:
                     22: doc: OpenXM-en.dvi OpenXM-ja.dvi OX-RFC-101-en.dvi OX-RFC-101-ja.dvi
1.6       noro       23:
1.8       takayama   24: OpenXM-en.dvi: $(OXWEAVE) $(SRC)
                     25:        -rm -rf tmpEN
                     26:        -mkdir tmpEN
1.9       takayama   27:        -for i in $(SRC); do $(OXWEAVE) $(OXWEAVEFLAG) C eg < $$i >tmpEN/$$i; done
1.8       takayama   28:        (cd tmpEN; ln -s ../reset.eps .; latex OpenXM; latex OpenXM)
                     29:        -mv tmpEN/OpenXM.dvi OpenXM-en.dvi
                     30:        touch OpenXM-en.dvi
                     31:
                     32: OpenXM-ja.dvi: $(OXWEAVE) $(SRC)
                     33:        -rm -rf tmpJA
                     34:        -mkdir tmpJA
1.11      takayama   35:        -for i in $(SRC); do $(OXWEAVE) $(OXWEAVEFLAG) C jp < $$i | ${NKF} >tmpJA/$$i; done
1.8       takayama   36:        -(cd tmpJA; ln -s ../reset.eps .; platex OpenXM; platex OpenXM)
                     37:        -mv tmpJA/OpenXM.dvi OpenXM-ja.dvi
                     38:        touch OpenXM-ja.dvi
1.1       noro       39:
1.9       takayama   40: OX-RFC-101-en.dvi: $(OXWEAVE) $(SRC101)
                     41:        -rm -rf tmp101EN
                     42:        -mkdir tmp101EN
                     43:        -for i in $(SRC101); do $(OXWEAVE) $(OXWEAVEFLAG) C eg < $$i >tmp101EN/$$i; done
                     44:        (cd tmp101EN; latex OX-RFC-101; latex OX-RFC-101)
                     45:        -mv tmp101EN/OX-RFC-101.dvi OX-RFC-101-en.dvi
                     46:        touch OX-RFC-101-en.dvi
                     47:
                     48: OX-RFC-101-ja.dvi: $(OXWEAVE) $(SRC101)
                     49:        -rm -rf tmp101JA
                     50:        -mkdir tmp101JA
1.11      takayama   51:        -for i in $(SRC101); do $(OXWEAVE) $(OXWEAVEFLAG) C jp < $$i | ${NKF} >tmp101JA/$$i; done
1.9       takayama   52:        -(cd tmp101JA;  platex OX-RFC-101; platex OX-RFC-101)
                     53:        -mv tmp101JA/OX-RFC-101.dvi OX-RFC-101-ja.dvi
                     54:        touch OX-RFC-101-ja.dvi
                     55:
1.1       noro       56: $(OXWEAVE) : $(OXWEAVE).c
                     57:        (cd ../../src/kxx ; make oxweave)
                     58:
1.13    ! takayama   59: all-html: all-html-ja all-html-en
        !            60: all-html-en: doc .all-html-100-en.done .all-html-101-en.done
        !            61:        if test ! -f .all-html-100-en.done ; \
        !            62:        then \
        !            63:                (cd tmpEN ; latex OpenXM; latex OpenXM ; $(LATEX2HTML) OpenXM ) ; \
        !            64:                touch .all-html-100-en.done ; \
        !            65:        fi
        !            66:        if test ! -f .all-html-101-en.done ; \
        !            67:        then \
        !            68:                (cd tmp101EN ; latex OX-RFC-101; latex OX-RFC-101 ; $(LATEX2HTML) OX-RFC-101 ) ; \
        !            69:                touch .all-html-101-en.done ; \
        !            70:        fi
        !            71:
        !            72: all-html-ja: doc .all-html-100-ja.done .all-html-101-ja.done
1.10      takayama   73:        if test ! -f .all-html-100-ja.done ; \
                     74:        then \
                     75:                (cd tmpJA; platex OpenXM; platex OpenXM ; $(LATEX2HTML) OpenXM) ; \
1.12      takayama   76:                (cd tmpJA/OpenXM; ../../${OXREPLACE} --old iso-8859-1 --new euc-jp *.html) ; \
1.10      takayama   77:                touch .all-html-100-ja.done ; \
                     78:        fi
                     79:        if test ! -f .all-html-101-ja.done ; \
                     80:        then \
                     81:                (cd tmp101JA; platex OX-RFC-101; platex OX-RFC-101 ; $(LATEX2HTML) OX-RFC-101 ) ; \
1.12      takayama   82:                (cd tmp101JA/OX-RFC-101; ../../${OXREPLACE} --old iso-8859-1 --new euc-jp *.html) ; \
1.10      takayama   83:                touch .all-html-101-ja.done ; \
                     84:        fi
                     85:
                     86: .all-html-100-en.done: ${SRC}
                     87:        make clean-done
                     88: .all-html-101-en.done: ${SRC101}
                     89:        make clean-done
1.13    ! takayama   90: .all-html-100-ja.done: ${SRC}
        !            91:        make clean-done
        !            92: .all-html-101-ja.done: ${SRC101}
        !            93:        make clean-done
1.10      takayama   94:
                     95: install-web-all: all-html
                     96:        if test ! -d ${CURRENT}/doc ; then mkdir ${CURRENT}/doc ; fi
                     97:        if test ! -d ${CURRENT}/doc/OX-RFC-100-en ; then mkdir ${CURRENT}/doc/OX-RFC-100-en ; fi
                     98:        if test ! -d ${CURRENT}/doc/OX-RFC-100-ja ; then mkdir ${CURRENT}/doc/OX-RFC-100-ja ; fi
                     99:        if test ! -d ${CURRENT}/doc/OX-RFC-101-en ; then mkdir ${CURRENT}/doc/OX-RFC-101-en ; fi
                    100:        if test ! -d ${CURRENT}/doc/OX-RFC-101-ja ; then mkdir ${CURRENT}/doc/OX-RFC-101-ja ; fi
                    101:        (cd tmpEN; ${RSYNC} OpenXM ${CURRENT}/doc/OX-RFC-100-en)
                    102:        (cd tmpJA; ${RSYNC} OpenXM ${CURRENT}/doc/OX-RFC-100-ja)
                    103:        (cd tmp101JA; ${RSYNC} OX-RFC-101 ${CURRENT}/doc/OX-RFC-101-ja)
                    104:        (cd tmp101EN; ${RSYNC} OX-RFC-101 ${CURRENT}/doc/OX-RFC-101-en)
                    105:        if test ! -f .install-ps-done ; then \
                    106:        (cd tmpEN ; $(DVIPS) OpenXM >${CURRENT}/openxm-en.ps) ; \
                    107:        (cd tmpJA ; $(DVIPS) OpenXM >${CURRENT}/openxm-ja.ps) ; \
                    108:        touch .install-ps-done ; \
                    109:        fi
                    110:
                    111:
                    112: clean : clean-done
1.9       takayama  113:        /bin/rm -rf tmpEN tmpJA tmp101EN tmp101JA
                    114:        /bin/rm -f OpenXM-en.dvi OpenXM-ja.dvi OX-RFC-101-en.dvi OX-RFC-101-ja.dvi
1.10      takayama  115: clean-done:
                    116:        /bin/rm -f .[a-z]*done
1.13    ! takayama  117: clean-en-done:
        !           118:        /bin/rm -f .[a-z]*-en.done
1.1       noro      119:

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