aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/manpage.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-09-28 22:41:06 +0100
committerRalph Amissah <ralph@amissah.com>2007-09-28 22:41:06 +0100
commit145f6b74dcb24a795ed85c6094d36be91ea3c585 (patch)
tree3377094a31cabe02efb4cecc25241182ebd45aa4 /lib/sisu/v0/manpage.rb
parentdebian manpage things reverted to use old manpages (diff)
parentremoval of auto-generated manpages (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v0/manpage.rb')
-rw-r--r--lib/sisu/v0/manpage.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v0/manpage.rb b/lib/sisu/v0/manpage.rb
index 5b2cef6f..768fbc48 100644
--- a/lib/sisu/v0/manpage.rb
+++ b/lib/sisu/v0/manpage.rb
@@ -473,7 +473,7 @@ WOK
else '2007' #date missing decide on action
end
proj=SiSU_Env::Info_version.new.get_version
- manpage[:open] = %{.TH "#{@md.fnb}" "1" "#{date}" "#{proj[:version]}" "#{@md.title}"}
+ manpage[:open] = %{.TH "#{@md.fnb}" "1" "#{date}" "#{proj[:version]}" "#{@md.title}"#{@md.man_name}#{@md.man_synopsis}}
content << manpage[:open]
content << manpage[:head]
content << manpage[:body]
@@ -493,6 +493,7 @@ WOK
end
def manpage #%manpage output
SiSU_Env::SiSU_file.new(@md).mkdir
+ #filename_manpage=SiSU_Env::SiSU_file.new(@md,"#{@md.fnb}.#{@md.man_section}").mkfile_man
filename_manpage=SiSU_Env::SiSU_file.new(@md,@md.fn[:manpage]).mkfile_man
@sisu=[]
@content.each do |para| # this is a hack