version 1.4, 2000/01/23 05:28:33 |
version 1.6, 2000/01/24 07:49:58 |
|
|
#$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.5 2000/01/24 07:36:35 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\ |
|
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-eg.dvi OpenXM-jp.dvi |
|
|
|
OpenXM-eg.dvi: $(OXWEAVE) $(SRC) |
-rm -rf tmpEG |
-rm -rf tmpEG |
-mkdir tmpEG |
-mkdir tmpEG |
-for i in *.tex; do $(OXWEAVE) $(OXWEAVEFLAG) C eg < $$i >tmpEG/$$i; done |
-for i in *.tex; do $(OXWEAVE) $(OXWEAVEFLAG) C eg < $$i >tmpEG/$$i; done |
(cd tmpEG; ln -s ../reset.eps .; platex OpenXM) |
(cd tmpEG; ln -s ../reset.eps .; latex OpenXM; latex OpenXM) |
doc-jp: $(OXWEAVE) OpenXM.tex |
-mv tmpEG/OpenXM.dvi OpenXM-eg.dvi |
|
touch OpenXM-eg.dvi |
|
|
|
OpenXM-jp.dvi: $(OXWEAVE) $(SRC) |
-rm -rf tmpJP |
-rm -rf tmpJP |
-mkdir tmpJP |
-mkdir tmpJP |
-for i in *.tex; do $(OXWEAVE) $(OXWEAVEFLAG) C jp < $$i >tmpJP/$$i; done |
-for i in *.tex; do $(OXWEAVE) $(OXWEAVEFLAG) C jp < $$i >tmpJP/$$i; done |
-(cd tmpJP; ln -s ../reset.eps .; platex OpenXM) |
-(cd tmpJP; ln -s ../reset.eps .; platex OpenXM; platex OpenXM) |
|
-mv tmpJP/OpenXM.dvi OpenXM-jp.dvi |
|
touch OpenXM-jp.dvi |
|
|
$(OXWEAVE) : $(OXWEAVE).c |
$(OXWEAVE) : $(OXWEAVE).c |
(cd ../../src/kxx ; make oxweave) |
(cd ../../src/kxx ; make oxweave) |