OSDN Git Service

bin/mkdist.perl: Pass --utf8 option to pod2man.
authorAkihiro MOTOKI <amotoki@gmail.com>
Wed, 6 Jun 2012 06:34:33 +0000 (15:34 +0900)
committerAkihiro MOTOKI <amotoki@gmail.com>
Wed, 6 Jun 2012 06:34:33 +0000 (15:34 +0900)
pod2man requires --utf8 option to convert UTF-8 pod pages properly.
Otherwise, a generated roff page will be double-encoded and human-unreadable.

bin/mkdist.perl

index 8743bd4..e654a41 100755 (executable)
@@ -172,6 +172,6 @@ foreach my $fkey (sort keys %pod_hash){
 
     print "translate $srcfile => $dstfile\n";
     system "mkdir -p $dstdir";
-    system "$POD2MAN $srcfile > $dstfile";
+    system "$POD2MAN --utf8 $srcfile > $dstfile";
 }