From 4a1a8333e6e90677ae0f08b6d739a04647ad6f56 Mon Sep 17 00:00:00 2001 From: Akihiro MOTOKI Date: Tue, 6 May 2014 01:24:59 +0900 Subject: [PATCH] coreutils: Update README --- manual/GNU_coreutils/README | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/manual/GNU_coreutils/README b/manual/GNU_coreutils/README index 29c83179..c0a6411d 100644 --- a/manual/GNU_coreutils/README +++ b/manual/GNU_coreutils/README @@ -1,3 +1,8 @@ +== 準備 == + +help2man と help2man のメッセージカタログをインストールしておく必要がある。 +Debian/Ubuntu の場合は help2man と language-pack-ja をインストールする。 + == coreutils の翻訳の流れ == help2man.ja 以下の *.x を訳す。 @@ -20,13 +25,18 @@ help2man.ja 以下の *.x を訳す。 == original の更新 == -(1) ファイルのコピー -rm -f original/man1/* -cp SOURCE/man/*.1 original/man1/ -rm -f help2man.orig/* -cp SOURCE/man/*.x help2man.orig/ +(1) Makefile のバージョン更新 + +- Makefile の V = を更新するバージョンに変更する +- make clean-setup +- make source + +(2) ファイルのコピー +rm -f original/man1/* help2man.orig/* +cp -p source/man/*.1 original/man1/ +cp -p source/man/*.x help2man.orig/ -(2) translation_list の更新 +(3) translation_list の更新 git で add/remove を行う。 git status | ../../admin/git2upd > upd.txt @@ -34,13 +44,11 @@ git status | ../../admin/git2upd > upd.txt ../../admin/upd_tl.perl translation_list upd.txt VERSION -(3) help2man.ja の更新 +(4) help2man.ja の更新 help2man.orig 側でのファイルの add/update/remove を反映する。 original/man1/*.1 が更新されるのは、以下の二つのケースがある。 * *.x が更新された場合 - → JM のステータスで「更新あり」として扱う * help message が更新された場合 - → JM のステータスとしては「更新なし」として扱う → SOURCE/po/ja.po を修正して Translation Project へ。 -- 2.11.0