=================================================================== RCS file: /home/cvs/OpenXM/doc/OpenXM-specs/Makefile,v retrieving revision 1.18 retrieving revision 1.20 diff -u -p -r1.18 -r1.20 --- OpenXM/doc/OpenXM-specs/Makefile 2003/12/10 23:22:52 1.18 +++ 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.17 2003/09/15 08:53:34 ohara 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\ @@ -56,23 +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.dvi: $(OXWEAVE) $(SRC103) +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.tex) - -(cd tmp103EN; latex OX-RFC-103; latex OX-RFC-103) - -mv tmp103EN/OX-RFC-103.dvi OX-RFC-103-en.dvi - touch OX-RFC-103-en.dvi -OX-RFC-103-ja.dvi: $(OXWEAVE) $(SRC103) + -(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.tex) - -(cd tmp103JA; platex OX-RFC-103; platex OX-RFC-103) - -mv tmp103JA/OX-RFC-103.dvi OX-RFC-103-ja.dvi - touch OX-RFC-103-ja.dvi + -(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) @@ -125,7 +131,7 @@ install-web-all: all-html clean : clean-done /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.dvi OX-RFC-103-en.dvi + /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: