BIC-MNI / minc-toolkit

Metaproject uniting all the available minc tools
GNU General Public License v3.0
37 stars 15 forks source link

Minctools manual pages aren't being installed as of minc-toolkit 1.0.01 #22

Open pipitone opened 9 years ago

pipitone commented 9 years ago

In minc-toolkit release 1.0.01, doing the usual make && make install process doesn't put the man pages from the minctools project into share/man, although they are present in the source (e.g. section 1 manual pages are at minctools/progs/*/*.man1).

vfonov commented 9 years ago

Hmm, this was on my todo list for a while. How does one install man pages from CMake ?

andrewjanke commented 9 years ago

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.