Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 1998 13:03:00 +0900
From:      horikawa@jp.freebsd.org
To:        jfieber@indiana.edu
Cc:        Hiroyuki HANAI <hanai@astec.co.jp>, freebsd-doc@FreeBSD.ORG
Subject:   Plan to move doc/ja_JP.EUC to doc/ja (Re: Proposal to put Japanese online manuals into freefall CVS repository)
Message-ID:  <199802040403.NAA19256@isrdgw.isrd.hitachi.co.jp>
In-Reply-To: Your message of "Fri, 23 Jan 1998 11:31:52 JST." <19980123113152P.hanai@astec.co.jp> 

next in thread | previous in thread | raw e-mail | index | archive | help
 Excuse me for my misspelling `freebsd-doc' in previous mail
<199802040350.MAA18826@isrdgw.isrd.hitachi.co.jp>.  I resend same
contents.

> On Thu, 22 Jan 1998, John Fieber wrote:
> > I would like to resolve the ja versus ja_JP.EUC question first,
> > but otherwise that sounds fine.  

Hiroyuki HANAI wrote:
> I think that members in Japanese documetation group will agree
> with John's idea.

 I made a plan to move doc/ja_JP.EUC to doc/ja.  Please review
attached plan.

---
1. Move doc/ja_JP.EUC to doc/ja
   As described in `Moving and renaming directories' of CVS info,
   apply following steps:

          $ cd $CVSROOT/doc
          $ mv ja_JP.EUC ja

  or do `cvs remove' and `cvs add'.


2. Modify doc/Makefile
   Obtain language name from environment variables, and process the
   language name subdirectory.

--- Makefile.orig	Tue Feb  3 12:50:34 1998
+++ Makefile	Tue Feb  3 12:51:58 1998
@@ -3,8 +3,16 @@
 SUBDIR=	FAQ handbook
 
 # List of all language-specific subdirs.
-LANGSUBDIR=	ja_JP.EUC
+LANGSUBDIR=	ja
 
+.if defined(LC_ALL)
+DOC_LANG!= echo ${LC_ALL} | sed -e 's/_.*//'
+.elif defined(LC_CTYPE)
+DOC_LANG!= echo ${LC_CTYPE} | sed -e 's/_.*//'
+.elif defined(LANG)
+DOC_LANG!= echo ${LANG} | sed -e 's/_.*//'
+.endif
+
 # If ALLLANG is defined, descend to all language-specific subdirs too.
-# If ALLLANG is not defined, but LANG is defined and a subdirectory with
+# If ALLLANG is not defined, but DOC_LANG is defined and a subdirectory with
 # that name exists, descend to that directory too.
@@ -13,8 +21,8 @@
 .if defined(ALLLANG)
 SUBDIR+=	${LANGSUBDIR}
 .elif defined(LANG)
-.if exists(${.CURDIR}/${LANG})
-SUBDIR+=	${LANG}
+.if exists(${.CURDIR}/${DOC_LANG})
+SUBDIR+=	${DOC_LANG}
 .endif
 .endif
 

3. Modify CVSROOT/modules
   Fix directory path.

--- modules.orig	Thu Jan 29 16:11:20 1998
+++ modules	Thu Jan 29 16:11:48 1998
@@ -662,7 +662,7 @@
 iv		ports/x11/iv
 ivs		ports/net/ivs
 ja-Canna	ports/japanese/Canna
-ja-FAQ		doc/ja_JP.EUC/FAQ
+ja-FAQ		doc/ja/FAQ
 ja-Wnn		ports/japanese/Wnn
 ja-Wnn6		ports/japanese/Wnn6
 ja-Wnn6-lib	ports/japanese/Wnn6-lib
@@ -670,7 +670,7 @@
 ja-camltk41	ports/japanese/camltk41
 ja-cdrom2		ports/japanese/cdrom2
 ja-chimera	ports/japanese/chimera
-ja-doc		doc/ja_JP.EUC
+ja-doc		doc/ja
 ja-dserver	ports/japanese/dserver
 ja-dvi2ps       ports/japanese/dvi2ps
 ja-dvi2tty	ports/japanese/dvi2tty
@@ -686,7 +686,7 @@
 ja-grep		ports/japanese/grep
 ja-groff	ports/japanese/groff
 ja-gxditview	ports/japanese/gxditview
-ja-handbook	doc/ja_JP.EUC/handbook
+ja-handbook	doc/ja/handbook
 ja-hex          ports/japanese/hex
 ja-ircII        ports/japanese/ircII
 ja-iv		ports/japanese/iv
--
Kazuo Horikawa <horikawa@jp.freebsd.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802040403.NAA19256>