vuls: init at 0.27.0 (#348530)
[NixPkgs.git] / pkgs / os-specific / linux / target-isns / install_prefix_path.patch
blobf98fc21b7a24793bd2b59ed7a56a607ec5923698
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index f46144d..aeac3e4 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -14,10 +14,10 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror")
6 option(SUPPORT_SYSTEMD "Support service control via systemd" OFF)
8 add_subdirectory(src)
9 -install(FILES target-isns.conf DESTINATION /etc/)
10 +install(FILES target-isns.conf DESTINATION ${CMAKE_INSTALL_PREFIX}/etc/)
11 install(FILES target-isns.8 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man8/)
12 if (SUPPORT_SYSTEMD)
13 - install(FILES target-isns.service DESTINATION /usr/lib/systemd/system/)
14 + install(FILES target-isns.service DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/systemd/system/)
15 endif (SUPPORT_SYSTEMD)
17 add_subdirectory(tests)