=================================================================== RCS file: /home/cvs/OpenXM/doc/OpenXM-specs/Makefile,v retrieving revision 1.11 retrieving revision 1.15 diff -u -p -r1.11 -r1.15 --- OpenXM/doc/OpenXM-specs/Makefile 2003/03/26 04:56:14 1.11 +++ OpenXM/doc/OpenXM-specs/Makefile 2003/05/31 06:38:55 1.15 @@ -1,7 +1,8 @@ -#$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.14 2003/03/27 11:09:12 takayama Exp $ all : doc LATEX2HTML=latex2html -tmp /tmp +JFIX=${OpenXM_HOME}/src/util/sample1.sh DVIPS=dvips -f RSYNC=rsync -Cavz CURRENT=/home/web/OpenXM/Current @@ -56,35 +57,36 @@ OX-RFC-101-ja.dvi: $(OXWEAVE) $(SRC101) $(OXWEAVE) : $(OXWEAVE).c (cd ../../src/kxx ; make oxweave) -all-html: doc .all-html-100-en.done .all-html-101-en.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 iso-2022-jp *.html) ; \ - touch .all-html-100-ja.done ; \ - fi +all-html: all-html-ja all-html-en +all-html-en: doc if test ! -f .all-html-100-en.done ; \ then \ (cd tmpEN ; latex OpenXM; latex OpenXM ; $(LATEX2HTML) OpenXM ) ; \ + (cd tmpEN/OpenXM ; $(JFIX) *.html ; rm -f *-tmp.old ) ; \ touch .all-html-100-en.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 iso-2022-jp *.html) ; \ - touch .all-html-101-ja.done ; \ - fi if test ! -f .all-html-101-en.done ; \ then \ (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 ; \ fi -.all-html-100-en.done: ${SRC} - make clean-done -.all-html-101-en.done: ${SRC101} - make clean-done +all-html-ja: doc + 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 + install-web-all: all-html 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 @@ -107,5 +109,6 @@ clean : clean-done /bin/rm -f OpenXM-en.dvi OpenXM-ja.dvi OX-RFC-101-en.dvi OX-RFC-101-ja.dvi clean-done: /bin/rm -f .[a-z]*done - +clean-en-done: + /bin/rm -f .[a-z]*-en.done