Skip to main content
Topic: manpage for otter-browser (#518) (Read 2427 times)

Re: manpage for otter-browser

Reply #1
So it repeats the contents of otter-browser --help?

I actually think that all Linux apps should, as a minimum, repeat the --help contents as man page, even though a more elaborate man page would always be cooler. I hope it gets integrated in the next release :)

Re: manpage for otter-browser

Reply #2
@ersi, yeah, it surely needs more contents.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.

Re: manpage for otter-browser

Reply #3
Note the existence of a tool called help2man, which automates the creation of this kind of man page.

A man page is a required component for Debian packaging, so this is one of the last major obstacles. One possible DRY-style solution could be to edit the man page on the Otter wiki, and to then automatically convert it to a man page using Pandoc. This could also be used to generate an HTML help file for use within the program.

Re: manpage for otter-browser (#518)

Reply #4
@Frenzie, I would prefer to keep CMakeLists.txt clean, and man files don't change often enough to justify direct use of external commands to automate this. ;-)
It seems that there is variable for setting man directory after all, CMAKE_INSTALL_MANDIR.
I'll run some tests later.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.

 

Re: manpage for otter-browser (#518)

Reply #5
Sounds good. :)