diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2013-12-28 21:34:27 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2013-12-28 21:34:27 +0000 |
commit | 5c114e04ec485030aed5da455c2e594e94cbfdbf (patch) | |
tree | b0905e3da4ee069a2dcc715571860043ef161d49 /debian/rules | |
parent | New patch 300_manual-links.patch to fix links in MANUAL.html (closes: #517315) (diff) | |
download | w3m-5c114e04ec485030aed5da455c2e594e94cbfdbf.tar.gz w3m-5c114e04ec485030aed5da455c2e594e94cbfdbf.zip |
Convert document encodings to UTF-8 at build time
Diffstat (limited to '')
-rwxr-xr-x | debian/rules | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 8af3ad4..11c0289 100755 --- a/debian/rules +++ b/debian/rules @@ -97,6 +97,37 @@ binary-arch: install dh_installmime # dh_installman dh_installchangelogs -a $(builddir)/ChangeLog + for f in \ + debian/w3m/usr/share/doc/w3m/README.cookie \ + debian/w3m/usr/share/doc/w3m/README.m17n \ + debian/w3m/usr/share/doc/w3m/ja/FAQ.html \ + debian/w3m/usr/share/doc/w3m/ja/HISTORY \ + debian/w3m/usr/share/doc/w3m/ja/MANUAL.html \ + debian/w3m/usr/share/doc/w3m/ja/README \ + debian/w3m/usr/share/doc/w3m/ja/README.SSL \ + debian/w3m/usr/share/doc/w3m/ja/README.cookie \ + debian/w3m/usr/share/doc/w3m/ja/README.dict \ + debian/w3m/usr/share/doc/w3m/ja/README.func \ + debian/w3m/usr/share/doc/w3m/ja/README.keymap \ + debian/w3m/usr/share/doc/w3m/ja/README.m17n \ + debian/w3m/usr/share/doc/w3m/ja/README.mailcap \ + debian/w3m/usr/share/doc/w3m/ja/README.menu \ + debian/w3m/usr/share/doc/w3m/ja/README.migemo \ + debian/w3m/usr/share/doc/w3m/ja/README.mouse \ + debian/w3m/usr/share/doc/w3m/ja/STORY.html \ + debian/w3m/usr/share/doc/w3m/ja/examples/menu.default \ + debian/w3m/usr/share/doc/w3m/ja/examples/menu.submenu \ + debian/w3m/usr/share/man/ja/man1/w3m.1 \ + debian/w3m-img/usr/share/doc/w3m-img/README.img.ja; do \ + iconv -f euc-jp -t utf-8 "$$f" > "$$f".tmp && mv -f "$$f".tmp "$$f" || rm -f "$$f".tmp; \ + done + for f in \ + debian/w3m/usr/share/doc/w3m/HISTORY \ + debian/w3m/usr/share/doc/w3m/ja/README.passwd \ + debian/w3m/usr/share/doc/w3m/ja/README.pre_form \ + debian/w3m/usr/share/doc/w3m/ja/README.tab; do \ + iconv -f iso-2022-jp -t utf-8 "$$f" > "$$f".tmp && mv -f "$$f".tmp "$$f" || rm -f "$$f".tmp; \ + done dh_strip -a dh_compress -a -XREADME.func dh_lintian -a |