+ ceph-devel On Tue, Feb 7, 2017 at 5:41 PM, Willem Jan Withagen <wjw@xxxxxxxxxxx> wrote: > Hi Kefu, > > Do you have a hint on where to modify the install location for the > manpages... > > They now end in /usr/local/man/man8 ... doc/man/8/CMakeLists.txt ``` install(FILES ${sphinx_output_dir}/${cmd}.8 DESTINATION ${CEPH_MAN_DIR}/man8) ``` you need to conditionalize the DESTINATION arg. > And FreeBSD has the packages man pages in /usr/local/man/ i think the manpages of section#8 installed by ports should go to /usr/local/man/man8. see https://www.freebsd.org/cgi/man.cgi?query=hier&apropos=0&sektion=0&manpath=FreeBSD+12-current&arch=default&format=html. for example, wget's manpage is located at /usr/local/man/man1/wget.1.gz > > 2nd thing is that I prefer to gzip them, but that is not super > essential. But most of the others are compressed. you might need to add an add_custom_command() and conditionalize the install() function to the loop of "foreach(man ${man_srcs})" to install the gzipped man pages for FreeBSD. please be sure to `find_program(GZIP gzip)` before using "gzip". > > Thanx, > --WjW -- Regards Kefu Chai -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html