Add section suffix to man pages

`man`, at least on some linux distros, ignores files
that don't have have the numeric suffix that corresponds
to the man page section.
This commit adds the suffix to the tools man pages.

Signed-off-by: Ivan A. Melnikov <iv@altlinux.org>
This commit is contained in:
Ivan A. Melnikov 2022-08-24 19:05:36 +04:00
parent 1eb36c4aa3
commit c82d891e22

View file

@ -8,7 +8,7 @@ if(SFIZZ_JACK)
install(TARGETS sfizz_jack DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT "jack" OPTIONAL)
install(FILES ${PROJECT_BINARY_DIR}/clients/sfizz_jack.man DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
RENAME sfizz_jack COMPONENT "jack" OPTIONAL)
RENAME sfizz_jack.1 COMPONENT "jack" OPTIONAL)
endif()
if(SFIZZ_RENDER)
@ -18,5 +18,5 @@ if(SFIZZ_RENDER)
configure_file(sfizz_render.man.in sfizz_render.man @ONLY)
install(TARGETS sfizz_render DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT "render" OPTIONAL)
install(FILES ${PROJECT_BINARY_DIR}/clients/sfizz_render.man DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
RENAME sfizz_render COMPONENT "render" OPTIONAL)
RENAME sfizz_render.1 COMPONENT "render" OPTIONAL)
endif()