From: Bastian Dehn Date: Mon, 25 May 2026 08:26:25 +0000 (+0200) Subject: add copyright X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=0c44dc944d7cfbb8998db8cf49219b1644a46366;p=mv-none-space.git add copyright --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 0707209..f76372d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.25.1) -project(mv_none_space VERSION 1.1.10) +project(mv-none-space VERSION 1.1.10) if("${CMAKE_BUILD_TYPE}" STREQUAL "Release") set(CMAKE_C_FLAGS "-s -std=c99 -Werror -Wextra -pedantic") diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e59c5b3..8640ae3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -23,8 +23,11 @@ set(CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS WORLD_READ WORLD_EXECUTE) +include(GNUInstallDirs) install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/debian/copyright + DESTINATION ${CMAKE_INSTALL_DOCDIR}) set(CPACK_GENERATOR "DEB") set(CPACK_DEBIAN_PACKAGE_NAME "mv-none-space") diff --git a/src/debian/copyright b/src/debian/copyright new file mode 100644 index 0000000..3eaad05 --- /dev/null +++ b/src/debian/copyright @@ -0,0 +1,4 @@ +Files: + * +Copyright: 2024-2026 Bastian Dehn +License: MIT \ No newline at end of file