version 1.5, 2000/01/24 07:36:35 |
version 1.8, 2000/09/09 03:01:24 |
|
|
#$OpenXM: OpenXM/doc/OpenXM-specs/Makefile,v 1.4 2000/01/23 05:28:33 noro Exp $ |
#$OpenXM: OpenXM/doc/OpenXM-specs/Makefile,v 1.7 2000/01/24 12:32:49 noro 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 .; latex 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) |
|
|
|
|
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 |
$(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 |
|
/bin/rm -f OpenXM-en.dvi OpenXM-ja.dvi |
|
|
|
|