*** empty log message ***
authorhanda <handa>
Fri, 10 Dec 2010 08:15:24 +0000 (08:15 +0000)
committerhanda <handa>
Fri, 10 Dec 2010 08:15:24 +0000 (08:15 +0000)
ChangeLog
utils/mkman.rb

index 3305857..d819de6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,26 @@
 2010-12-10  Kenichi Handa  <handa@m17n.org>
 
 2010-12-10  Kenichi Handa  <handa@m17n.org>
 
+       * header.usr.html: Update copyright year.
+
+       * header.ja.html: Likewise.
+
+       * footer.usr.html: Likewise.
+
+       * footer.ja.html: Likewise.
+
+       * configure.ac: Change version to 1.6.2.
+
+       * utils/exprog.sh: Fix typo.
+
        * utils/reform-man.sh: New file.
 
        * images/ua-kbd.png, images/ua-kbd.eps: New files.
 
        * Makefile.am (pkgdata_DATA): Change m17n-lib.ps to m17n-lib.pdf.
        * utils/reform-man.sh: New file.
 
        * images/ua-kbd.png, images/ua-kbd.eps: New files.
 
        * Makefile.am (pkgdata_DATA): Change m17n-lib.ps to m17n-lib.pdf.
+       (MAN1): Include data/exprog.txt.
+       (all): New target.
 
 
-       * utils/mkman.rb (orewrite): Workaround the doxygen problem of
+       * utils/mkman.rb: (orewrite): Workaround the doxygen problem of
        inserting ".PP" before @brief text.
 
 2007-07-24  Kenichi Handa  <handa@m17n.org>
        inserting ".PP" before @brief text.
 
 2007-07-24  Kenichi Handa  <handa@m17n.org>
index 1e73bd6..8ee755f 100644 (file)
@@ -462,62 +462,66 @@ Dir.mkdir $doxywork unless FileTest.directory? $doxywork
 Dir.chdir($srcdir)
 
 Dir.open(".").each{|filename|
 Dir.chdir($srcdir)
 
 Dir.open(".").each{|filename|
-
-     if FileTest.directory? filename 
-       next
-     end   
-
-     if filename =~ /\.[ch]\./
-        next
-     end   
-
-     if filename =~ /\.txt\./
-        next
-     end   
-
-     print "RUBY DIVIDING: ", filename, "\n"
-
-     file = open(filename,"r") 
-     text = file.readlines
-     title = text[0]
-
-   if
-      sfunctionstart = text.index(text.find{|i| i == $flheader})
-        if sfunctionend = text.index(text[sfunctionstart+1 .. text.size].find{|i| i =~ /^\.SS|^\.SH/})
+  
+  if FileTest.directory? filename 
+    next
+  end   
+  
+  if filename =~ /\.[ch]\./
+    next
+  end   
+  
+  if filename =~ /\.txt\./
+    next
+  end   
+  
+  print "RUBY DIVIDING: ", filename, "\n"
+  
+  file = open(filename,"r") 
+  text = file.readlines
+  title = text[0]
+  
+  if filename =~ /m17nExProg.1/
+    next
+  else
+    
+    if sfunctionstart = text.index(text.find{|i| i == $flheader})
+      if sfunctionend = text.index(text[sfunctionstart+1 .. text.size].find{|i| i =~ /^\.SS|^\.SH/})
         short_text = text[sfunctionstart .. sfunctionend - 1] 
         short_text = text[sfunctionstart .. sfunctionend - 1] 
-       else
+      else
         short_text = text[sfunctionstart .. text.size - 1] 
         short_text = text[sfunctionstart .. text.size - 1] 
-       end
-
-    if lfunctionstart = text.index(text.find{|i| i == $fdheader})
-       if lfunctionend = text.index(text[lfunctionstart+1 .. text.size].find{|i| i =~ /^\.SH/})
-         func_text = text[lfunctionstart .. lfunctionend - 1] 
-         group_text = text[0 .. lfunctionstart - 1] + text[lfunctionend ..text.size]
+      end
+      
+      if lfunctionstart = text.index(text.find{|i| i == $fdheader})
+        if lfunctionend = text.index(text[lfunctionstart+1 .. text.size].find{|i| i =~ /^\.SH/})
+          func_text = text[lfunctionstart .. lfunctionend - 1] 
+          group_text = text[0 .. lfunctionstart - 1] + text[lfunctionend ..text.size]
         else 
         else 
-         func_text = text[lfunctionstart .. text.size]
-         group_text = text[0 .. lfunctionstart - 1]
-       end
+          func_text = text[lfunctionstart .. text.size]
+          group_text = text[0 .. lfunctionstart - 1]
+        end
       else 
       else 
-       func_text = [] 
-       group_text = text  
+        func_text = [] 
+        group_text = text  
+      end
+      
+      residue = documentfunc(title, func_text, short_text)
+      
+      if residue == []
+      else 
+        group_text = group_text + [".SH \"Function Documentation\"\n.PP\n"] + residue
+      end
+      
+    else
+      
+      group_text = text
+      
     end
 
     end
 
-  residue = documentfunc(title, func_text, short_text)
-
-  if residue == []
-     else 
-     group_text = group_text + [".SH \"Function Documentation\"\n.PP\n"] + residue
-  end
-
-  else
-  
-  group_text = text
-  
+    filetowrite = open($doxywork+filename,"w")
+    filetowrite.puts(group_text)
+    filetowrite.flush
   end
   end
-   
-  filetowrite = open($doxywork+filename,"w")
-  filetowrite.puts(group_text)
-  filetowrite.flush
 }
 
 #############################rewriting files
 }
 
 #############################rewriting files