move manpages to subfolders

master
Christoph Gysin 9 years ago
parent 7a1c8c2939
commit 99af7e7c9c

@ -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

@ -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)

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

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

Loading…
Cancel
Save