From: nisikimi Date: Fri, 20 Jun 2003 06:45:41 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: XML-base~169 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=7c14ead3a1f6d6ee23ad856ff094ca4bd2c2e5c9;p=m17n%2Fm17n-docs.git *** empty log message *** --- 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)}