OSDN Git Service

change the encoding of kernel-docs html files to UTF-8
authorMasanori Kobayasi <yasikoba@users.sourceforge.jp>
Sun, 16 Jan 2011 13:02:00 +0000 (22:02 +0900)
committerMasanori Kobayasi <yasikoba@users.sourceforge.jp>
Sun, 16 Jan 2011 13:02:00 +0000 (22:02 +0900)
docs/kernel-docs-2.2/Makefile
docs/kernel-docs-2.2/support/kdoc.pl
docs/kernel-docs-2.2/support/template.m4
docs/kernel-docs-2.4/Makefile
docs/kernel-docs-2.4/support/kdoc.pl
docs/kernel-docs-2.4/support/template.m4
docs/kernel-docs-2.6/Makefile
docs/kernel-docs-2.6/support/kdoc.pl
docs/kernel-docs-2.6/support/template.m4

index da921d0..c241a51 100644 (file)
@@ -44,7 +44,7 @@ $(HTMLFILES): $(TEMPLATE) $(KDOCSCRIPT) $(SRC)
 
 $(INDEXHTML): $(INFOFILES) $(TREE-SCRIPT) $(TREE-TMPL)
        rm -f $@
-       $(TREE-SCRIPT) $(CURDIR) | m4 -P | nkf -j > $@
+       $(TREE-SCRIPT) $(CURDIR) | m4 -P | nkf -w > $@
 
 $(TOPDIRHTML): $(TOPDIR)
        m4 -P $(TOPDIR) > $@
index f9c8567..1cc5463 100755 (executable)
@@ -1,5 +1,4 @@
 #!/usr/bin/perl -w
-# $Id: kdoc.pl,v 1.6 2009/04/05 12:46:09 mdk Exp $
 
 use File::Basename;
 
@@ -39,7 +38,7 @@ foreach my $docinfo (@ARGV) {
     }
   }
   close INFO;
-  open(M4, "| m4 -P | nkf -j > $basedoc.html") or die;
+  open(M4, "| m4 -P | nkf -w > $basedoc.html") or die;
   open(TMPLT, "$templete") or die;
   print M4 while <TMPLT>;
   close TMPLT;
index 6806ef3..b3fb35d 100644 (file)
@@ -31,9 +31,9 @@ m4_define(`_HEADER', `
 <html lang="ja" dir="ltr">
 <head>
  <title>JF: Linux Kernel _VERSION Documentation: $1</title>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-2022-JP">
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="author" lang="en" content="JF Project Members">
- <meta name="copyright" content="(C) 1998-2010 JF Project.">
+ <meta name="copyright" content="(C) 1998-2011 JF Project.">
  <meta name="description" content="$2">
  <meta name="keywords" content="JF,Linux,Japanese,¥«¡¼¥Í¥ë,kernel,Documentation">
  <link rev="made" href="mailto:jf@listserv.linux.or.jp">
index d5dea6f..04f566d 100644 (file)
@@ -44,7 +44,7 @@ $(HTMLFILES): $(TEMPLATE) $(KDOCSCRIPT) $(SRC)
 
 $(INDEXHTML): $(INFOFILES) $(TREE-SCRIPT) $(TREE-TMPL)
        rm -f $@
-       $(TREE-SCRIPT) $(CURDIR) | m4 -P | nkf -j > $@
+       $(TREE-SCRIPT) $(CURDIR) | m4 -P | nkf -w > $@
 
 $(TOPDIRHTML): $(TOPDIR)
        m4 -P $(TOPDIR) > $@
index 273bbcf..1cc5463 100755 (executable)
@@ -1,5 +1,4 @@
 #!/usr/bin/perl -w
-# $Id: kdoc.pl,v 1.6 2009/04/09 11:47:45 mdk Exp $
 
 use File::Basename;
 
@@ -39,7 +38,7 @@ foreach my $docinfo (@ARGV) {
     }
   }
   close INFO;
-  open(M4, "| m4 -P | nkf -j > $basedoc.html") or die;
+  open(M4, "| m4 -P | nkf -w > $basedoc.html") or die;
   open(TMPLT, "$templete") or die;
   print M4 while <TMPLT>;
   close TMPLT;
index b894451..fd14f49 100644 (file)
@@ -31,9 +31,9 @@ m4_define(`_HEADER', `
 <html lang="ja" dir="ltr">
 <head>
  <title>JF: Linux Kernel _VERSION Documentation: $1</title>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-2022-JP">
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="author" lang="en" content="JF Project Members">
- <meta name="copyright" content="(C) 1998-2010 JF Project.">
+ <meta name="copyright" content="(C) 1998-2011 JF Project.">
  <meta name="description" content="$2">
  <meta name="keywords" content="JF,Linux,Japanese,¥«¡¼¥Í¥ë,kernel,Documentation">
  <link rev="made" href="mailto:jf@listserv.linux.or.jp">
index 01a5b4d..3cf7596 100644 (file)
@@ -44,7 +44,7 @@ $(HTMLFILES): $(TEMPLATE) $(KDOCSCRIPT) $(SRC)
 
 $(INDEXHTML): $(INFOFILES) $(TREE-SCRIPT) $(TREE-TMPL) $(LAST_MODIFIED)
        rm -f $@
-       $(TREE-SCRIPT) $(CURDIR) | m4 -P | nkf -j > $@
+       $(TREE-SCRIPT) $(CURDIR) | m4 -P | nkf -w > $@
 
 $(TOPDIRHTML): $(TOPDIR)
        m4 -P $(TOPDIR) > $@
index b45f4cf..1cc5463 100755 (executable)
@@ -1,5 +1,4 @@
 #!/usr/bin/perl -w
-# $Id: kdoc.pl,v 1.6 2009/04/10 12:40:50 mdk Exp $
 
 use File::Basename;
 
@@ -39,7 +38,7 @@ foreach my $docinfo (@ARGV) {
     }
   }
   close INFO;
-  open(M4, "| m4 -P | nkf -j > $basedoc.html") or die;
+  open(M4, "| m4 -P | nkf -w > $basedoc.html") or die;
   open(TMPLT, "$templete") or die;
   print M4 while <TMPLT>;
   close TMPLT;
index 296ef7e..f62b26b 100644 (file)
@@ -31,7 +31,7 @@ m4_define(`_HEADER', `
 <html lang="ja" dir="ltr">
 <head>
  <title>JF: Linux Kernel _VERSION Documentation: $1</title>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-2022-JP">
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="author" lang="en" content="JF Project Members">
  <meta name="copyright" content="(C) 1998-2011 JF Project.">
  <meta name="description" content="$2">