X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=CMakeLists.txt;h=0a754020586f10839fadceef949d09d9a4f16559;hp=6aa6e9fb92bc6537be317cfd6a219f8d61f59322;hb=f03c3a1d7d067e23810b7a2d77506e303fb51857;hpb=6ce79e397fcfde29d34fef651a14c9e7ce99cb06 diff --git a/CMakeLists.txt b/CMakeLists.txt index 6aa6e9fb..0a754020 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,7 @@ cmake_minimum_required(VERSION 2.6) include(FindPkgConfig) +include(GNUInstallDirs) project(pulseview) @@ -235,8 +236,12 @@ endif() #= Installation #------------------------------------------------------------------------------- +# Install the executable. install(TARGETS ${PROJECT_NAME} DESTINATION bin/) +# Install the manpage. +install(FILES doc/pulseview.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT doc) + #=============================================================================== #= Packaging (handled by CPack) #-------------------------------------------------------------------------------