From 7c14ead3a1f6d6ee23ad856ff094ca4bd2c2e5c9 Mon Sep 17 00:00:00 2001 From: nisikimi Date: Fri, 20 Jun 2003 06:45:41 +0000 Subject: [PATCH] *** empty log message *** --- utils/mkman.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/utils/mkman.rb b/utils/mkman.rb index 5f2516f..1b4c476 100644 --- a/utils/mkman.rb +++ b/utils/mkman.rb @@ -123,9 +123,11 @@ end def documentfunc2 (dstart, title, func_text, short_text) #func_text¤ÎºÇ½é¤Î¹ÔÃæ¤Î´Ø¿ô̾ + dstart =~ /\s([a-z_]+)\s\(/ return if $1 == nil fname = $1 + ffname = "\\fB".concat($1.concat("\\fP")) #short_text¤Î´Ø¿ô̾¤Î£²¹Ô¸å¤¬brief¡£ brief = short_text[short_text.index(short_text.find{|i| i.index(ffname)}) + 2] @@ -135,7 +137,8 @@ def documentfunc2 (dstart, title, func_text, short_text) #¥Ø¥Ã¥À /^\.TH \"([^"]*)\"\s/ =~ title oname = $1 - newtitle = title.gsub(oname, fname.chop.chop) +##????? newtitle = title.gsub(oname, fname.chop.chop) + newtitle = title.gsub(oname, fname) file.puts(newtitle) #@brief file.print("@brief ") @@ -419,4 +422,4 @@ end Dir.chdir($doxywork) -Dir.open(".").each{|f| File.delete(f) if FileTest.file?(f)} +#Dir.open(".").each{|f| File.delete(f) if FileTest.file?(f)} -- 1.7.10.4