version 1.10, 2003/03/25 11:22:17 |
version 1.13, 2003/03/26 13:26:00 |
|
|
#$OpenXM: OpenXM/doc/OpenXM-specs/Makefile,v 1.9 2000/11/30 02:41:36 takayama Exp $ |
#$OpenXM: OpenXM/doc/OpenXM-specs/Makefile,v 1.12 2003/03/26 06:19:04 takayama Exp $ |
all : doc |
all : doc |
|
|
LATEX2HTML=latex2html -tmp /tmp |
LATEX2HTML=latex2html -tmp /tmp |
DVIPS=dvips -f |
DVIPS=dvips -f |
RSYNC=rsync -Cavz |
RSYNC=rsync -Cavz |
CURRENT=/home/web/OpenXM/Current |
CURRENT=/home/web/OpenXM/Current |
|
NKF=nkf -e |
|
|
OXWEAVE=../../src/kxx/oxweave |
OXWEAVE=../../src/kxx/oxweave |
OXWEAVEFLAG=--recursive --plain |
OXWEAVEFLAG=--recursive --plain |
|
OXREPLACE=../../src/util/oxreplace |
SRC= OpenXM.tex cmo-basic0.tex cmo-basic1.tex\ |
SRC= OpenXM.tex cmo-basic0.tex cmo-basic1.tex\ |
cmo-register.tex communication-model.tex control.tex\ |
cmo-register.tex communication-model.tex control.tex\ |
error.tex formal-expression.tex howtowrite.tex\ |
error.tex formal-expression.tex howtowrite.tex\ |
Line 30 OpenXM-en.dvi: $(OXWEAVE) $(SRC) |
|
Line 32 OpenXM-en.dvi: $(OXWEAVE) $(SRC) |
|
OpenXM-ja.dvi: $(OXWEAVE) $(SRC) |
OpenXM-ja.dvi: $(OXWEAVE) $(SRC) |
-rm -rf tmpJA |
-rm -rf tmpJA |
-mkdir tmpJA |
-mkdir tmpJA |
-for i in $(SRC); do $(OXWEAVE) $(OXWEAVEFLAG) C jp < $$i >tmpJA/$$i; done |
-for i in $(SRC); do $(OXWEAVE) $(OXWEAVEFLAG) C jp < $$i | ${NKF} >tmpJA/$$i; done |
-(cd tmpJA; ln -s ../reset.eps .; platex OpenXM; platex OpenXM) |
-(cd tmpJA; ln -s ../reset.eps .; platex OpenXM; platex OpenXM) |
-mv tmpJA/OpenXM.dvi OpenXM-ja.dvi |
-mv tmpJA/OpenXM.dvi OpenXM-ja.dvi |
touch OpenXM-ja.dvi |
touch OpenXM-ja.dvi |
Line 46 OX-RFC-101-en.dvi: $(OXWEAVE) $(SRC101) |
|
Line 48 OX-RFC-101-en.dvi: $(OXWEAVE) $(SRC101) |
|
OX-RFC-101-ja.dvi: $(OXWEAVE) $(SRC101) |
OX-RFC-101-ja.dvi: $(OXWEAVE) $(SRC101) |
-rm -rf tmp101JA |
-rm -rf tmp101JA |
-mkdir tmp101JA |
-mkdir tmp101JA |
-for i in $(SRC101); do $(OXWEAVE) $(OXWEAVEFLAG) C jp < $$i | nkf -e >tmp101JA/$$i; done |
-for i in $(SRC101); do $(OXWEAVE) $(OXWEAVEFLAG) C jp < $$i | ${NKF} >tmp101JA/$$i; done |
-(cd tmp101JA; platex OX-RFC-101; platex OX-RFC-101) |
-(cd tmp101JA; platex OX-RFC-101; platex OX-RFC-101) |
-mv tmp101JA/OX-RFC-101.dvi OX-RFC-101-ja.dvi |
-mv tmp101JA/OX-RFC-101.dvi OX-RFC-101-ja.dvi |
touch OX-RFC-101-ja.dvi |
touch OX-RFC-101-ja.dvi |
Line 54 OX-RFC-101-ja.dvi: $(OXWEAVE) $(SRC101) |
|
Line 56 OX-RFC-101-ja.dvi: $(OXWEAVE) $(SRC101) |
|
$(OXWEAVE) : $(OXWEAVE).c |
$(OXWEAVE) : $(OXWEAVE).c |
(cd ../../src/kxx ; make oxweave) |
(cd ../../src/kxx ; make oxweave) |
|
|
all-html: doc .all-html-100-en.done .all-html-101-en.done |
all-html: all-html-ja all-html-en |
if test ! -f .all-html-100-ja.done ; \ |
all-html-en: doc .all-html-100-en.done .all-html-101-en.done |
then \ |
|
(cd tmpJA; platex OpenXM; platex OpenXM ; $(LATEX2HTML) OpenXM) ; \ |
|
touch .all-html-100-ja.done ; \ |
|
fi |
|
if test ! -f .all-html-100-en.done ; \ |
if test ! -f .all-html-100-en.done ; \ |
then \ |
then \ |
(cd tmpEN ; latex OpenXM; latex OpenXM ; $(LATEX2HTML) OpenXM ) ; \ |
(cd tmpEN ; latex OpenXM; latex OpenXM ; $(LATEX2HTML) OpenXM ) ; \ |
touch .all-html-100-en.done ; \ |
touch .all-html-100-en.done ; \ |
fi |
fi |
if test ! -f .all-html-101-ja.done ; \ |
|
then \ |
|
(cd tmp101JA; platex OX-RFC-101; platex OX-RFC-101 ; $(LATEX2HTML) OX-RFC-101 ) ; \ |
|
touch .all-html-101-ja.done ; \ |
|
fi |
|
if test ! -f .all-html-101-en.done ; \ |
if test ! -f .all-html-101-en.done ; \ |
then \ |
then \ |
(cd tmp101EN ; latex OX-RFC-101; latex OX-RFC-101 ; $(LATEX2HTML) OX-RFC-101 ) ; \ |
(cd tmp101EN ; latex OX-RFC-101; latex OX-RFC-101 ; $(LATEX2HTML) OX-RFC-101 ) ; \ |
touch .all-html-101-en.done ; \ |
touch .all-html-101-en.done ; \ |
fi |
fi |
|
|
|
all-html-ja: doc .all-html-100-ja.done .all-html-101-ja.done |
|
if test ! -f .all-html-100-ja.done ; \ |
|
then \ |
|
(cd tmpJA; platex OpenXM; platex OpenXM ; $(LATEX2HTML) OpenXM) ; \ |
|
(cd tmpJA/OpenXM; ../../${OXREPLACE} --old iso-8859-1 --new euc-jp *.html) ; \ |
|
touch .all-html-100-ja.done ; \ |
|
fi |
|
if test ! -f .all-html-101-ja.done ; \ |
|
then \ |
|
(cd tmp101JA; platex OX-RFC-101; platex OX-RFC-101 ; $(LATEX2HTML) OX-RFC-101 ) ; \ |
|
(cd tmp101JA/OX-RFC-101; ../../${OXREPLACE} --old iso-8859-1 --new euc-jp *.html) ; \ |
|
touch .all-html-101-ja.done ; \ |
|
fi |
|
|
.all-html-100-en.done: ${SRC} |
.all-html-100-en.done: ${SRC} |
make clean-done |
make clean-done |
.all-html-101-en.done: ${SRC101} |
.all-html-101-en.done: ${SRC101} |
make clean-done |
make clean-done |
|
.all-html-100-ja.done: ${SRC} |
|
make clean-done |
|
.all-html-101-ja.done: ${SRC101} |
|
make clean-done |
|
|
install-web-all: all-html |
install-web-all: all-html |
if test ! -d ${CURRENT}/doc ; then mkdir ${CURRENT}/doc ; fi |
if test ! -d ${CURRENT}/doc ; then mkdir ${CURRENT}/doc ; fi |
Line 103 clean : clean-done |
|
Line 114 clean : clean-done |
|
/bin/rm -f OpenXM-en.dvi OpenXM-ja.dvi OX-RFC-101-en.dvi OX-RFC-101-ja.dvi |
/bin/rm -f OpenXM-en.dvi OpenXM-ja.dvi OX-RFC-101-en.dvi OX-RFC-101-ja.dvi |
clean-done: |
clean-done: |
/bin/rm -f .[a-z]*done |
/bin/rm -f .[a-z]*done |
|
clean-en-done: |
|
/bin/rm -f .[a-z]*-en.done |
|
|