*** empty log message ***
authorhanda <handa>
Mon, 16 Aug 2004 01:59:10 +0000 (01:59 +0000)
committerhanda <handa>
Mon, 16 Aug 2004 01:59:10 +0000 (01:59 +0000)
Makefile.am
README
utils/dvips.sh
utils/latex.sh

index 9c315bd..b16fdda 100644 (file)
@@ -33,7 +33,8 @@ pkgdata_DATA = \
 pkgdatadir = $(datadir)/m17n/docs
 
 EXTRA_DIST = usr/html usr/latex/m17n-lib.dvi usr/latex/m17n-lib.ps \
 pkgdatadir = $(datadir)/m17n/docs
 
 EXTRA_DIST = usr/html usr/latex/m17n-lib.dvi usr/latex/m17n-lib.ps \
-       man/man1 man/man3 man/man5
+       man/man1 man/man3 man/man5 \
+       ja/html ja/latex/m17n-lib-ja.dvi ja/latex/m17n-lib-ja.ps
 
 install-pkgdataDATA: $(pkgdata_DATA)
        $(mkinstalldirs) $(pkgdatadir)/html
 
 install-pkgdataDATA: $(pkgdata_DATA)
        $(mkinstalldirs) $(pkgdatadir)/html
@@ -326,6 +327,10 @@ release: dist
        cd usr/html; for f in *; do \
          case $$f in *8c*);; *8h*);; *8txt*);; *) cp $$f ${WEBDIR}/m17n-docs;; esac; \
        done
        cd usr/html; for f in *; do \
          case $$f in *8c*);; *8h*);; *8txt*);; *) cp $$f ${WEBDIR}/m17n-docs;; esac; \
        done
+       [ -d ${WEBDIR}-ja/m17n-docs ] || mkdir ${WEBDIR}-ja/m17n-docs
+       cd ja/html; for f in *; do \
+         case $$f in *8c*);; *8h*);; *8txt*);; *) cp $$f ${WEBDIR}-ja/m17n-docs;; esac; \
+       done
        cp ${distdir}.tar.gz ${WEBDIR}/download
 
 
        cp ${distdir}.tar.gz ${WEBDIR}/download
 
 
diff --git a/README b/README
index ec70597..8ca278b 100644 (file)
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
-This directory tree holds version 1.0 of the m17n library documentation.
-Copyright (C) 2003
+This directory tree holds version 1.1 of the m17n library documentation.
+Copyright (C) 2003, 2004
   National Institute of Advanced Industrial Science and Technology (AIST)
   Registration Number H15PRO112
 See the end for copying conditions.
   National Institute of Advanced Industrial Science and Technology (AIST)
   Registration Number H15PRO112
 See the end for copying conditions.
@@ -29,12 +29,19 @@ by giving these arguments to the "configure" script respectively.
        --datadir=DIR
        --mandir=DIR
 
        --datadir=DIR
        --mandir=DIR
 
+Note: Although this package contains Japanese translation of HTML and
+LaTeX files, they are not installed by the above procedure.  Please
+install the following files manually if you need them:
+       ja/html/*.html
+       ja/latex/m17n-lib-ja.dvi
+       ja/latex/m17n-lib-ja.ps
+
 See the file INSTALL for more detail.
 
 ----------------------------------------------------------------------
 Copyright information
 
 See the file INSTALL for more detail.
 
 ----------------------------------------------------------------------
 Copyright information
 
-Copyright (C) 2003
+Copyright (C) 2003, 2004
   National Institute of Advanced Industrial Science and Technology (AIST)
   Registration Number H15PRO112
 
   National Institute of Advanced Industrial Science and Technology (AIST)
   Registration Number H15PRO112
 
index 2c48146..cd618a7 100755 (executable)
@@ -4,8 +4,15 @@
 
 umask 002
 USR_JA_DEV=`dirname $1`
 
 umask 002
 USR_JA_DEV=`dirname $1`
+if [ $USR_JA_DEV = "ja" ] ; then
+  SOURCE=m17n-lib-ja
+elif [ $USR_JA_DEV = "dev" ] ; then
+  SOURCE=m17n-lib-dev
+else
+  SOURCE=m17n-lib
+fi
 export TEXINPUTS
 cd $1
 DVIPS=$2
 export TEXINPUTS
 cd $1
 DVIPS=$2
-${DVIPS} -o m17n-lib.ps m17n-lib.dvi
+${DVIPS} -o ${SOURCE}.ps ${SOURCE}.dvi
 
 
index 7bc83f0..e417496 100755 (executable)
@@ -11,21 +11,30 @@ cd $1
 LATEX=$2
 if [ $USR_JA_DEV = "ja" ] ; then
   LATEX=platex
 LATEX=$2
 if [ $USR_JA_DEV = "ja" ] ; then
   LATEX=platex
+  SOURCE=m17n-lib-ja
   sed -e '/documentclass/ s/a4paper/a4paper,twoside/' \
       -e '/m17n ¥é¥¤¥Ö¥é¥ê ¥â¥¸¥å¡¼¥ëº÷°ú/,/pages/ d' \
       -e '/m17n ¥é¥¤¥Ö¥é¥ê ¥Õ¥¡¥¤¥ë¤Î²òÀâ/,/textprop_8c/ d' \
       -e 's/m17n ¥é¥¤¥Ö¥é¥ê ¥Ú¡¼¥¸¤Î²òÀâ/Appendix/' \
   sed -e '/documentclass/ s/a4paper/a4paper,twoside/' \
       -e '/m17n ¥é¥¤¥Ö¥é¥ê ¥â¥¸¥å¡¼¥ëº÷°ú/,/pages/ d' \
       -e '/m17n ¥é¥¤¥Ö¥é¥ê ¥Õ¥¡¥¤¥ë¤Î²òÀâ/,/textprop_8c/ d' \
       -e 's/m17n ¥é¥¤¥Ö¥é¥ê ¥Ú¡¼¥¸¤Î²òÀâ/Appendix/' \
-    < refman.tex > m17n-lib.tex
+    < refman.tex > ${SOURCE}.tex
+elif [ $USR_JA_DEV = "dev" ] ; then
+  SOURCE=m17n-lib-dev
+  sed -e '/documentclass/ s/a4paper/a4paper,twoside/' \
+      -e '/The m17n Library Module Index/,/pages/ d' \
+      -e '/The m17n Library File Documentation/,/textprop_8c/ d' \
+      -e 's/The m17n Library Page Documentation/Appendix/' \
+    < refman.tex > ${SOURCE}.tex
 else
 else
+  SOURCE=m17n-lib
   sed -e '/documentclass/ s/a4paper/a4paper,twoside/' \
       -e '/The m17n Library Module Index/,/pages/ d' \
       -e '/The m17n Library File Documentation/,/textprop_8c/ d' \
       -e 's/The m17n Library Page Documentation/Appendix/' \
   sed -e '/documentclass/ s/a4paper/a4paper,twoside/' \
       -e '/The m17n Library Module Index/,/pages/ d' \
       -e '/The m17n Library File Documentation/,/textprop_8c/ d' \
       -e 's/The m17n Library Page Documentation/Appendix/' \
-    < refman.tex > m17n-lib.tex
+    < refman.tex > ${SOURCE}.tex
 fi
 fi
-${LATEX} m17n-lib.tex
+${LATEX} ${SOURCE}.tex
 if [ "${USR_JA_DEV}" = "ja" ] ; then
 if [ "${USR_JA_DEV}" = "ja" ] ; then
-  nkf -e < m17n-lib.idx > temp.idx; mv temp.idx m17n-lib.idx
+  nkf -e < ${SOURCE}.idx > temp.idx; mv temp.idx ${SOURCE}.idx
 fi
 fi
-makeindex m17n-lib.idx
-${LATEX} m17n-lib.tex
+makeindex ${SOURCE}.idx
+${LATEX} ${SOURCE}.tex