version 1.4, 2000/01/23 05:28:33 |
version 1.9, 2000/11/30 02:41:36 |
|
|
#$OpenXM: OpenXM/doc/OpenXM-specs/Makefile,v 1.2 2000/01/21 06:24:49 noro Exp $ |
#$OpenXM: OpenXM/doc/OpenXM-specs/Makefile,v 1.8 2000/09/09 03:01:24 takayama Exp $ |
all : doc |
all : doc |
|
|
OXWEAVE=../../src/kxx/oxweave |
OXWEAVE=../../src/kxx/oxweave |
OXWEAVEFLAG=--recursive --plain |
OXWEAVEFLAG=--recursive --plain |
doc: doc-jp doc-eg |
SRC= OpenXM.tex cmo-basic0.tex cmo-basic1.tex\ |
doc-eg: $(OXWEAVE) OpenXM.tex |
cmo-register.tex communication-model.tex control.tex\ |
-rm -rf tmpEG |
error.tex formal-expression.tex howtowrite.tex\ |
-mkdir tmpEG |
implementation.tex introduction.tex library.tex\ |
-for i in *.tex; do $(OXWEAVE) $(OXWEAVEFLAG) C eg < $$i >tmpEG/$$i; done |
ox-localdata.tex project.tex redefine.tex\ |
(cd tmpEG; ln -s ../reset.eps .; platex OpenXM) |
stackmachine.tex start-session.tex string-expression.tex |
doc-jp: $(OXWEAVE) OpenXM.tex |
|
-rm -rf tmpJP |
|
-mkdir tmpJP |
|
-for i in *.tex; do $(OXWEAVE) $(OXWEAVEFLAG) C jp < $$i >tmpJP/$$i; done |
|
-(cd tmpJP; ln -s ../reset.eps .; platex OpenXM) |
|
|
|
|
SRC101=OX-RFC-101.tex |
|
|
|
doc: OpenXM-en.dvi OpenXM-ja.dvi OX-RFC-101-en.dvi OX-RFC-101-ja.dvi |
|
|
|
OpenXM-en.dvi: $(OXWEAVE) $(SRC) |
|
-rm -rf tmpEN |
|
-mkdir tmpEN |
|
-for i in $(SRC); 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 $(SRC); 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 |
|
|
|
OX-RFC-101-en.dvi: $(OXWEAVE) $(SRC101) |
|
-rm -rf tmp101EN |
|
-mkdir tmp101EN |
|
-for i in $(SRC101); do $(OXWEAVE) $(OXWEAVEFLAG) C eg < $$i >tmp101EN/$$i; done |
|
(cd tmp101EN; latex OX-RFC-101; latex OX-RFC-101) |
|
-mv tmp101EN/OX-RFC-101.dvi OX-RFC-101-en.dvi |
|
touch OX-RFC-101-en.dvi |
|
|
|
OX-RFC-101-ja.dvi: $(OXWEAVE) $(SRC101) |
|
-rm -rf tmp101JA |
|
-mkdir tmp101JA |
|
-for i in $(SRC101); do $(OXWEAVE) $(OXWEAVEFLAG) C jp < $$i | nkf -e >tmp101JA/$$i; done |
|
-(cd tmp101JA; platex OX-RFC-101; platex OX-RFC-101) |
|
-mv tmp101JA/OX-RFC-101.dvi OX-RFC-101-ja.dvi |
|
touch OX-RFC-101-ja.dvi |
|
|
$(OXWEAVE) : $(OXWEAVE).c |
$(OXWEAVE) : $(OXWEAVE).c |
(cd ../../src/kxx ; make oxweave) |
(cd ../../src/kxx ; make oxweave) |
|
|
clean : |
clean : |
/bin/rm -rf tmpEG tmpJP |
/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 |
|
|
|
|