version 1.13, 2003/03/26 13:26:00 |
version 1.18, 2003/12/10 23:22:52 |
|
|
#$OpenXM: OpenXM/doc/OpenXM-specs/Makefile,v 1.12 2003/03/26 06:19:04 takayama Exp $ |
#$OpenXM: OpenXM/doc/OpenXM-specs/Makefile,v 1.17 2003/09/15 08:53:34 ohara Exp $ |
all : doc |
all : doc |
|
|
LATEX2HTML=latex2html -tmp /tmp |
LATEX2HTML=latex2html -tmp /tmp |
|
JFIX=${OpenXM_HOME}/src/util/sample1.sh |
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 |
NKF=nkf -e |
|
|
OXWEAVE=../../src/kxx/oxweave |
OXWEAVE=../../bin/oxweave |
|
OXWEAVE_C=../../src/util/oxweave.c |
OXWEAVEFLAG=--recursive --plain |
OXWEAVEFLAG=--recursive --plain |
OXREPLACE=../../src/util/oxreplace |
OXREPLACE=../../src/util/oxreplace |
SRC= OpenXM.tex cmo-basic0.tex cmo-basic1.tex\ |
SRC= OpenXM.tex cmo-basic0.tex cmo-basic1.tex\ |
Line 18 ox-localdata.tex project.tex redefine.tex\ |
|
Line 20 ox-localdata.tex project.tex redefine.tex\ |
|
stackmachine.tex start-session.tex string-expression.tex |
stackmachine.tex start-session.tex string-expression.tex |
|
|
SRC101=OX-RFC-101.tex |
SRC101=OX-RFC-101.tex |
|
SRC103=OX-RFC-103.oxw |
|
|
doc: OpenXM-en.dvi OpenXM-ja.dvi OX-RFC-101-en.dvi OX-RFC-101-ja.dvi |
doc: OpenXM-en.dvi OpenXM-ja.dvi OX-RFC-101-en.dvi OX-RFC-101-ja.dvi |
|
|
Line 53 OX-RFC-101-ja.dvi: $(OXWEAVE) $(SRC101) |
|
Line 56 OX-RFC-101-ja.dvi: $(OXWEAVE) $(SRC101) |
|
-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 |
|
|
$(OXWEAVE) : $(OXWEAVE).c |
OX-RFC-103-en.dvi: $(OXWEAVE) $(SRC103) |
(cd ../../src/kxx ; make oxweave) |
-rm -rf tmp103EN |
|
-mkdir tmp103EN |
|
-for i in $(SRC103); do $(OXWEAVE) $(OXWEAVEFLAG) C en < $$i | ${NKF} >tmp103EN/$$i; done |
|
-(cd tmp103EN; mv OX-RFC-103.oxw OX-RFC-103.tex) |
|
-(cd tmp103EN; latex OX-RFC-103; latex OX-RFC-103) |
|
-mv tmp103EN/OX-RFC-103.dvi OX-RFC-103-en.dvi |
|
touch OX-RFC-103-en.dvi |
|
OX-RFC-103-ja.dvi: $(OXWEAVE) $(SRC103) |
|
-rm -rf tmp103JA |
|
-mkdir tmp103JA |
|
-for i in $(SRC103); do $(OXWEAVE) $(OXWEAVEFLAG) C ja < $$i | ${NKF} >tmp103JA/$$i; done |
|
-(cd tmp103JA; mv OX-RFC-103.oxw OX-RFC-103.tex) |
|
-(cd tmp103JA; platex OX-RFC-103; platex OX-RFC-103) |
|
-mv tmp103JA/OX-RFC-103.dvi OX-RFC-103-ja.dvi |
|
touch OX-RFC-103-ja.dvi |
|
|
|
$(OXWEAVE) : $(OXWEAVE_C) |
|
(cd ../../src/util ; make oxweave) |
|
|
all-html: all-html-ja all-html-en |
all-html: all-html-ja all-html-en |
all-html-en: doc .all-html-100-en.done .all-html-101-en.done |
all-html-en: doc |
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 ) ; \ |
|
(cd tmpEN/OpenXM ; $(JFIX) *.html ; rm -f *-tmp.old ) ; \ |
touch .all-html-100-en.done ; \ |
touch .all-html-100-en.done ; \ |
fi |
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 ) ; \ |
|
(cd tmp101EN/OX-RFC-101 ; $(JFIX) *.html ; rm -f *-tmp.old ) ; \ |
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 |
all-html-ja: doc |
if test ! -f .all-html-100-ja.done ; \ |
if test ! -f .all-html-100-ja.done ; \ |
then \ |
then \ |
(cd tmpJA; platex OpenXM; platex OpenXM ; $(LATEX2HTML) OpenXM) ; \ |
(cd tmpJA; platex OpenXM; platex OpenXM ; $(LATEX2HTML) OpenXM) ; \ |
Line 83 all-html-ja: doc .all-html-100-ja.done .all-html-101-j |
|
Line 105 all-html-ja: doc .all-html-100-ja.done .all-html-101-j |
|
touch .all-html-101-ja.done ; \ |
touch .all-html-101-ja.done ; \ |
fi |
fi |
|
|
.all-html-100-en.done: ${SRC} |
|
make clean-done |
|
.all-html-101-en.done: ${SRC101} |
|
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 110 install-web-all: all-html |
|
Line 124 install-web-all: all-html |
|
|
|
|
|
clean : clean-done |
clean : clean-done |
/bin/rm -rf tmpEN tmpJA tmp101EN tmp101JA |
/bin/rm -rf tmpEN tmpJA tmp101EN tmp101JA tmp103EN tmp103JA |
/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 OX-RFC-103-ja.dvi OX-RFC-103-en.dvi |
clean-done: |
clean-done: |
/bin/rm -f .[a-z]*done |
/bin/rm -f .[a-z]*done |
clean-en-done: |
clean-en-done: |