From: Osamu OKANO <okano.osamu@gmail.com>
To: git@vger.kernel.org
Cc: Osamu OKANO <okano.osamu@gmail.com>
Subject: [PATCH 2/7] add make(shell) scripts
Date: Fri, 13 May 2011 22:14:13 +0900 [thread overview]
Message-ID: <1305292458-3920-3-git-send-email-okano.osamu@gmail.com> (raw)
In-Reply-To: <1305292458-3920-1-git-send-email-okano.osamu@gmail.com>
---
Documentation/make_html | 10 ++++++++++
Documentation/make_txt | 13 +++++++++++++
Documentation/make_update | 13 +++++++++++++
3 files changed, 36 insertions(+), 0 deletions(-)
create mode 100644 Documentation/make_html
create mode 100644 Documentation/make_txt
create mode 100644 Documentation/make_update
diff --git a/Documentation/make_html b/Documentation/make_html
new file mode 100644
index 0000000..cbd0a69
--- /dev/null
+++ b/Documentation/make_html
@@ -0,0 +1,10 @@
+#!/bin/sh
+for t in *.txt
+do
+ asciidoc \
+ -b xhtml11 \
+ -d manpage \
+ -f ../asciidoc.conf \
+ -o `basename $t .txt`.html \
+ $t
+done
diff --git a/Documentation/make_txt b/Documentation/make_txt
new file mode 100644
index 0000000..8fd6ab7
--- /dev/null
+++ b/Documentation/make_txt
@@ -0,0 +1,13 @@
+#!/bin/sh
+for t in *.po
+do
+ po4a-translate \
+ --keep 0 \
+ --format text \
+ --option asciidoc \
+ --master-charset UTF8 \
+ --localized-charset UTF8 \
+ --master ../`basename $t .po`.txt \
+ --po $t \
+ --localized `basename $t .po`.txt
+done
diff --git a/Documentation/make_update b/Documentation/make_update
new file mode 100644
index 0000000..59322d2
--- /dev/null
+++ b/Documentation/make_update
@@ -0,0 +1,13 @@
+#!/bin/sh
+for t in *.po
+do
+ lang=`basename $PWD`
+ cd ..
+ po4a-updatepo \
+ --master-charset UTF8 \
+ --format text \
+ --master `basename $t .po`.txt \
+ --po $lang/$t \
+ --option asciidoc
+ cd $lang
+done
--
1.7.5.1.169.g505a1.dirty
next prev parent reply other threads:[~2011-05-13 13:14 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-13 13:14 [PATCH 0/7] Document translation with po4a Osamu OKANO
2011-05-13 13:14 ` [PATCH 1/7] Add new target pot in Makefile Osamu OKANO
2011-05-13 13:14 ` Osamu OKANO [this message]
2011-05-13 13:14 ` [PATCH 3/7] cp git-stage.pot ja/git-stage.po Osamu OKANO
2011-05-13 13:14 ` [PATCH 4/7] translate ja/git-stage.po Osamu OKANO
2011-05-13 13:14 ` [PATCH 5/7] your file Osamu OKANO
2011-05-13 16:52 ` Junio C Hamano
2011-05-13 16:58 ` Drew Northup
2011-05-13 13:14 ` [PATCH 6/7] update git-stage.po Osamu OKANO
2011-05-13 16:53 ` Junio C Hamano
2011-05-14 13:36 ` Osamu OKANO
2011-05-14 19:21 ` Jonathan Nieder
2011-05-15 3:21 ` Junio C Hamano
2011-05-15 3:44 ` Jonathan Nieder
2011-05-15 12:51 ` Ævar Arnfjörð Bjarmason
2011-05-15 12:56 ` Jonathan Nieder
2011-05-15 13:08 ` Jonathan Nieder
2011-05-15 13:25 ` Ævar Arnfjörð Bjarmason
2011-05-15 13:51 ` Jonathan Nieder
2011-05-13 13:14 ` [PATCH 7/7] translate and remove fazzy Osamu OKANO
2011-05-13 16:48 ` [PATCH 0/7] Document translation with po4a Junio C Hamano
2011-05-14 9:14 ` Ævar Arnfjörð Bjarmason
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1305292458-3920-3-git-send-email-okano.osamu@gmail.com \
--to=okano.osamu@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).