=================================================================== RCS file: /home/cvs/OpenXM/doc/OpenXM-specs/Makefile,v retrieving revision 1.17 retrieving revision 1.20 diff -u -p -r1.17 -r1.20 --- OpenXM/doc/OpenXM-specs/Makefile 2003/09/15 08:53:34 1.17 +++ OpenXM/doc/OpenXM-specs/Makefile 2004/09/19 12:17:40 1.20 @@ -1,4 +1,4 @@ -#$OpenXM: OpenXM/doc/OpenXM-specs/Makefile,v 1.16 2003/08/22 23:56:27 takayama Exp $ +#$OpenXM: OpenXM/doc/OpenXM-specs/Makefile,v 1.19 2004/06/21 01:06:37 takayama Exp $ all : doc LATEX2HTML=latex2html -tmp /tmp @@ -11,7 +11,7 @@ NKF=nkf -e OXWEAVE=../../bin/oxweave OXWEAVE_C=../../src/util/oxweave.c OXWEAVEFLAG=--recursive --plain -OXREPLACE=../../src/util/oxreplace +OXREPLACE=../../bin/oxreplace SRC= OpenXM.tex cmo-basic0.tex cmo-basic1.tex\ cmo-register.tex communication-model.tex control.tex\ error.tex formal-expression.tex howtowrite.tex\ @@ -20,6 +20,7 @@ ox-localdata.tex project.tex redefine.tex\ stackmachine.tex start-session.tex string-expression.tex SRC101=OX-RFC-101.tex +SRC103=OX-RFC-103.oxw doc: OpenXM-en.dvi OpenXM-ja.dvi OX-RFC-101-en.dvi OX-RFC-101-ja.dvi @@ -55,6 +56,29 @@ OX-RFC-101-ja.dvi: $(OXWEAVE) $(SRC101) -mv tmp101JA/OX-RFC-101.dvi OX-RFC-101-ja.dvi touch OX-RFC-101-ja.dvi +OX-RFC-103-en.txt: $(OXWEAVE) $(SRC103) + -rm -rf tmp103EN + -mkdir tmp103EN + -for i in $(SRC103); do $(OXWEAVE) $(OXWEAVEFLAG) C en < $$i | ${NKF} >tmp103EN/$$i; done + -(cd tmp103EN; mv OX-RFC-103.oxw OX-RFC-103.txt) + -mv tmp103JA/OX-RFC-103.txt OX-RFC-103-en.txt +OX-RFC-103-ja.txt: $(OXWEAVE) $(SRC103) + -rm -rf tmp103JA + -mkdir tmp103JA + -for i in $(SRC103); do $(OXWEAVE) $(OXWEAVEFLAG) C ja < $$i | ${NKF} >tmp103JA/$$i; done + -(cd tmp103JA; mv OX-RFC-103.oxw OX-RFC-103.txt) + -mv tmp103JA/OX-RFC-103.txt OX-RFC-103-ja.txt +ox-rfc-104-ja.txt: ox-rfc-104.oxw + echo "% DO NOT EDIT THIS FILE" >ox-rfc-104-ja.txt + $(OXWEAVE) $(OXWEAVEFLAG) C ja < ox-rfc-104.oxw >>ox-rfc-104-ja.txt +ox-rfc-103-en.txt: OX-RFC-103.oxw + echo "% DO NOT EDIT THIS FILE" >ox-rfc-103-en.txt + $(OXWEAVE) $(OXWEAVEFLAG) C en < OX-RFC-103.oxw >>ox-rfc-103-en.txt +ox-rfc-104-en.txt: ox-rfc-104.oxw + echo "% DO NOT EDIT THIS FILE" >ox-rfc-104-en.txt + $(OXWEAVE) $(OXWEAVEFLAG) C en < ox-rfc-104.oxw >>ox-rfc-104-en.txt + + $(OXWEAVE) : $(OXWEAVE_C) (cd ../../src/util ; make oxweave) @@ -106,8 +130,8 @@ install-web-all: all-html clean : clean-done - /bin/rm -rf tmpEN tmpJA tmp101EN tmp101JA - /bin/rm -f OpenXM-en.dvi OpenXM-ja.dvi OX-RFC-101-en.dvi OX-RFC-101-ja.dvi + /bin/rm -rf tmpEN tmpJA tmp101EN tmp101JA tmp103EN tmp103JA + /bin/rm -f OpenXM-en.dvi OpenXM-ja.dvi OX-RFC-101-en.dvi OX-RFC-101-ja.dvi OX-RFC-103-ja.txt OX-RFC-103-en.txt ox-rfc-104-ja.txt ox-rfc-104-en.txt clean-done: /bin/rm -f .[a-z]*done clean-en-done: