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

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

1.12    ! takayama    1: #$OpenXM: OpenXM/doc/OpenXM-specs/Makefile,v 1.11 2003/03/26 04:56:14 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.10      takayama   59: all-html: doc .all-html-100-en.done .all-html-101-en.done
                     60:        if test ! -f .all-html-100-ja.done ; \
                     61:        then \
                     62:                (cd tmpJA; platex OpenXM; platex OpenXM ; $(LATEX2HTML) OpenXM) ; \
1.12    ! takayama   63:                (cd tmpJA/OpenXM; ../../${OXREPLACE} --old iso-8859-1 --new euc-jp *.html) ; \
1.10      takayama   64:                touch .all-html-100-ja.done ; \
                     65:        fi
                     66:        if test ! -f .all-html-100-en.done ; \
                     67:        then \
                     68:                (cd tmpEN ; latex OpenXM; latex OpenXM ; $(LATEX2HTML) OpenXM ) ; \
                     69:                touch .all-html-100-en.done ; \
                     70:        fi
                     71:        if test ! -f .all-html-101-ja.done ; \
                     72:        then \
                     73:                (cd tmp101JA; platex OX-RFC-101; platex OX-RFC-101 ; $(LATEX2HTML) OX-RFC-101 ) ; \
1.12    ! takayama   74:                (cd tmp101JA/OX-RFC-101; ../../${OXREPLACE} --old iso-8859-1 --new euc-jp *.html) ; \
1.10      takayama   75:                touch .all-html-101-ja.done ; \
                     76:        fi
                     77:        if test ! -f .all-html-101-en.done ; \
                     78:        then \
                     79:                (cd tmp101EN ; latex OX-RFC-101; latex OX-RFC-101 ; $(LATEX2HTML) OX-RFC-101 ) ; \
                     80:                touch .all-html-101-en.done ; \
                     81:        fi
                     82:
                     83: .all-html-100-en.done: ${SRC}
                     84:        make clean-done
                     85: .all-html-101-en.done: ${SRC101}
                     86:        make clean-done
                     87:
                     88: install-web-all: all-html
                     89:        if test ! -d ${CURRENT}/doc ; then mkdir ${CURRENT}/doc ; fi
                     90:        if test ! -d ${CURRENT}/doc/OX-RFC-100-en ; then mkdir ${CURRENT}/doc/OX-RFC-100-en ; fi
                     91:        if test ! -d ${CURRENT}/doc/OX-RFC-100-ja ; then mkdir ${CURRENT}/doc/OX-RFC-100-ja ; fi
                     92:        if test ! -d ${CURRENT}/doc/OX-RFC-101-en ; then mkdir ${CURRENT}/doc/OX-RFC-101-en ; fi
                     93:        if test ! -d ${CURRENT}/doc/OX-RFC-101-ja ; then mkdir ${CURRENT}/doc/OX-RFC-101-ja ; fi
                     94:        (cd tmpEN; ${RSYNC} OpenXM ${CURRENT}/doc/OX-RFC-100-en)
                     95:        (cd tmpJA; ${RSYNC} OpenXM ${CURRENT}/doc/OX-RFC-100-ja)
                     96:        (cd tmp101JA; ${RSYNC} OX-RFC-101 ${CURRENT}/doc/OX-RFC-101-ja)
                     97:        (cd tmp101EN; ${RSYNC} OX-RFC-101 ${CURRENT}/doc/OX-RFC-101-en)
                     98:        if test ! -f .install-ps-done ; then \
                     99:        (cd tmpEN ; $(DVIPS) OpenXM >${CURRENT}/openxm-en.ps) ; \
                    100:        (cd tmpJA ; $(DVIPS) OpenXM >${CURRENT}/openxm-ja.ps) ; \
                    101:        touch .install-ps-done ; \
                    102:        fi
                    103:
                    104:
                    105: clean : clean-done
1.9       takayama  106:        /bin/rm -rf tmpEN tmpJA tmp101EN tmp101JA
                    107:        /bin/rm -f OpenXM-en.dvi OpenXM-ja.dvi OX-RFC-101-en.dvi OX-RFC-101-ja.dvi
1.10      takayama  108: clean-done:
                    109:        /bin/rm -f .[a-z]*done
1.1       noro      110:
                    111:

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