FDH2 / UxPlay

AirPlay Unix mirroring server
GNU General Public License v3.0
1.55k stars 78 forks source link

cmake install manpage into deprecated directory #27

Closed PetrusZ closed 2 years ago

PetrusZ commented 2 years ago

According FHS and cmake install doc, I think the correct way to install man page should be:

install( FILES uxplay.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 )

instead of

install( FILES uxplay.1 DESTINATION man/man1 )

Current it installed into /usr/man/man1, in my system which is Gentoo Linux, I can't use man to read manpage from there.

fduncanh commented 2 years ago

thanks! I have updated CMakeLists.txt

fduncanh commented 2 years ago

@PetrusZ If you clone the latest UxPlay from git, you could test to see if it installs the manpage correctly.

Thanks

PetrusZ commented 2 years ago

I tested from git repo, it install to /usr/share/man/man1/. The man command can read uxplay manpage now.