Open pipitone opened 9 years ago
Hmm, this was on my todo list for a while. How does one install man pages from CMake ?
Seems that CMake doesn't do it out of the box. I've seen the same question asked repeatedly on the CMake list and the answer is invariably add_custom_target(...) which seems rather kludgy.
At least you'll only have to make a few rules, one for bob.1 style pages, others for pod2man for perl scripts using GetOpt::Long
Stackoverflow thinks this:
http://stackoverflow.com/questions/3375341/man-page-generation-packaging-installation-with-cmake
a
On 25 November 2014 at 05:47, Vladimir S. FONOV notifications@github.com wrote:
Hmm, this was on my todo list for a while. How does one install man pages from CMake ?
Reply to this email directly or view it on GitHub https://github.com/BIC-MNI/minc-toolkit/issues/22#issuecomment-64252130.
In minc-toolkit release 1.0.01, doing the usual
make && make install
process doesn't put the man pages from the minctools project intoshare/man
, although they are present in the source (e.g. section 1 manual pages are atminctools/progs/*/*.man1
).