move manpages to subfolders

This commit is contained in:
Christoph Gysin 2015-12-02 12:47:34 +02:00
parent 7a1c8c2939
commit 99af7e7c9c
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(XKBCommon REQUIRED)
include(Manpage)
include_directories(include)
add_subdirectory(protocols)
@ -61,12 +63,6 @@ add_subdirectory(swaymsg)
add_subdirectory(swaygrab)
add_subdirectory(swaybar)
include(Manpage)
add_manpage(sway 1)
add_manpage(sway 5)
add_manpage(swaymsg 1)
add_manpage(swaygrab 1)
install(
FILES ${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop
DESTINATION share/wayland-sessions

View file

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

View file

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

View file

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