[cmake-developers] Integration of manpage installation
Werner Mahr
werner at vollstreckernet.de
Tue Jun 7 11:59:33 EDT 2011
Michael Wild wrote:
>> Rename from <appname>.<section> or <appname>.<lang>.<section> to
>> <appname>
>> install to $mandir/<section>/<appname>[.gz] or
>> $mandir/<section>/<lang>/<appname>[.gz]
> install(FILES cmake.1
> DESTINATION ${CMAKE_INSTALL_FULL_MANDIR}/man1 COMPONENT doc)
>
> If you want gzipping, either leave it to the package generation system
> (e.g. dh_installman on Debian and cohorts) or add a custom command to
> do so.
Gzipping isn't the problem, the problem are these two steps above. With
this command no transformation is done.
amule.1 goes to $mandir/man1/amule.1 instead of $mandir/man1/amule.1
amule.de.1 goes to $mandir/man1/amule.de.1 $mandir/de/man1/amule.1
Even worse
locale.7 would go to $mandir/man1/locale.7 where it definitely not
belongs.
--
MfG usw.
Werner Mahr
More information about the cmake-developers
mailing list