Merge pull request #292 from christophgysin/man

move manpages to subfolders
This commit is contained in:
Drew DeVault 2015-12-05 18:16:45 -05:00
commit 762a78be3c
8 changed files with 9 additions and 6 deletions

View file

@ -49,6 +49,8 @@ find_package(WLC REQUIRED)
find_package(Wayland REQUIRED) find_package(Wayland REQUIRED)
find_package(XKBCommon REQUIRED) find_package(XKBCommon REQUIRED)
include(Manpage)
include_directories(include) include_directories(include)
add_subdirectory(protocols) add_subdirectory(protocols)
@ -61,12 +63,6 @@ add_subdirectory(swaymsg)
add_subdirectory(swaygrab) add_subdirectory(swaygrab)
add_subdirectory(swaybar) add_subdirectory(swaybar)
include(Manpage)
add_manpage(sway 1)
add_manpage(sway 5)
add_manpage(swaymsg 1)
add_manpage(swaygrab 1)
install( install(
FILES ${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop FILES ${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop
DESTINATION share/wayland-sessions DESTINATION share/wayland-sessions

View file

@ -46,3 +46,6 @@ install(
DESTINATION ${FALLBACK_CONFIG_DIR} DESTINATION ${FALLBACK_CONFIG_DIR}
COMPONENT configuration COMPONENT configuration
) )
add_manpage(sway 1)
add_manpage(sway 5)

View file

@ -13,3 +13,5 @@ install(
DESTINATION bin DESTINATION bin
COMPONENT runtime COMPONENT runtime
) )
add_manpage(swaygrab 1)

View file

@ -12,3 +12,5 @@ install(
DESTINATION bin DESTINATION bin
COMPONENT runtime COMPONENT runtime
) )
add_manpage(swaymsg 1)