=================================================================== RCS file: /home/cvs/OpenXM/doc/OpenXM-specs/Makefile,v retrieving revision 1.2 retrieving revision 1.8 diff -u -p -r1.2 -r1.8 --- OpenXM/doc/OpenXM-specs/Makefile 2000/01/21 06:24:49 1.2 +++ OpenXM/doc/OpenXM-specs/Makefile 2000/09/09 03:01:24 1.8 @@ -1,20 +1,38 @@ -#$OpenXM: OpenXM/doc/OpenXM-specs/Makefile,v 1.1.1.1 2000/01/20 08:52:46 noro Exp $ +#$OpenXM: OpenXM/doc/OpenXM-specs/Makefile,v 1.7 2000/01/24 12:32:49 noro Exp $ all : doc OXWEAVE=../../src/kxx/oxweave OXWEAVEFLAG=--recursive --plain -doc: $(OXWEAVE) OpenXM.tex - -rm -rf tmpEG - -mkdir tmpEG - -for i in *.tex; do $(OXWEAVE) $(OXWEAVEFLAG) C eg < $$i >tmpEG/$$i; done - -rm -rf tmpJP - -mkdir tmpJP - -for i in *.tex; do $(OXWEAVE) $(OXWEAVEFLAG) C jp < $$i >tmpJP/$$i; done +SRC= OpenXM.tex cmo-basic0.tex cmo-basic1.tex\ +cmo-register.tex communication-model.tex control.tex\ +error.tex formal-expression.tex howtowrite.tex\ +implementation.tex introduction.tex library.tex\ +ox-localdata.tex project.tex redefine.tex\ +stackmachine.tex start-session.tex string-expression.tex +doc: OpenXM-en.dvi OpenXM-ja.dvi + +OpenXM-en.dvi: $(OXWEAVE) $(SRC) + -rm -rf tmpEN + -mkdir tmpEN + -for i in *.tex; do $(OXWEAVE) $(OXWEAVEFLAG) C eg < $$i >tmpEN/$$i; done + (cd tmpEN; ln -s ../reset.eps .; latex OpenXM; latex OpenXM) + -mv tmpEN/OpenXM.dvi OpenXM-en.dvi + touch OpenXM-en.dvi + +OpenXM-ja.dvi: $(OXWEAVE) $(SRC) + -rm -rf tmpJA + -mkdir tmpJA + -for i in *.tex; do $(OXWEAVE) $(OXWEAVEFLAG) C jp < $$i >tmpJA/$$i; done + -(cd tmpJA; ln -s ../reset.eps .; platex OpenXM; platex OpenXM) + -mv tmpJA/OpenXM.dvi OpenXM-ja.dvi + touch OpenXM-ja.dvi + $(OXWEAVE) : $(OXWEAVE).c (cd ../../src/kxx ; make oxweave) clean : - /bin/rm -rf tmpEG tmpJP + /bin/rm -rf tmpEN tmpJA + /bin/rm -f OpenXM-en.dvi OpenXM-ja.dvi