version 1.11, 2003/03/26 04:56:14 |
version 1.16, 2003/08/22 23:56:27 |
|
|
#$OpenXM: OpenXM/doc/OpenXM-specs/Makefile,v 1.10 2003/03/25 11:22:17 takayama Exp $ |
#$OpenXM: OpenXM/doc/OpenXM-specs/Makefile,v 1.15 2003/05/31 06:38:55 takayama 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 |
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 56 OX-RFC-101-ja.dvi: $(OXWEAVE) $(SRC101) |
|
Line 57 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 |
then \ |
|
(cd tmpJA; platex OpenXM; platex OpenXM ; $(LATEX2HTML) OpenXM) ; \ |
|
(cd tmpJA/OpenXM; ../../${OXREPLACE} --old iso-8859-1 --new iso-2022-jp *.html) ; \ |
|
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 ) ; \ |
|
(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-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 iso-2022-jp *.html) ; \ |
|
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 ) ; \ |
|
(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-100-en.done: ${SRC} |
all-html-ja: doc |
make clean-done |
if test ! -f .all-html-100-ja.done ; \ |
.all-html-101-en.done: ${SRC101} |
then \ |
make clean-done |
(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 |
|
|
|
|
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 |
if test ! -d ${CURRENT}/doc/OX-RFC-100-en ; then mkdir ${CURRENT}/doc/OX-RFC-100-en ; fi |
if test ! -d ${CURRENT}/doc/OX-RFC-100-en ; then mkdir ${CURRENT}/doc/OX-RFC-100-en ; fi |
Line 107 clean : clean-done |
|
Line 109 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 |
|
|