]> gitweb.hhaalo.de Git - mv-none-space.git/commitdiff
add copyright
authorBastian Dehn <hhaalo@arcor.de>
Mon, 25 May 2026 08:26:25 +0000 (10:26 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 25 May 2026 09:51:52 +0000 (11:51 +0200)
CMakeLists.txt
src/CMakeLists.txt
src/debian/copyright [new file with mode: 0644]

index 070720999a714d33ce4f496ce98fd6e90a242fa5..f76372d3de5b523350527fa1cad6ef3bb7e6baed 100644 (file)
@@ -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")
index e59c5b339070113c824565d6cb091e4be257bf3e..8640ae379d776088fa993125f074165e5d2288b4 100644 (file)
@@ -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 (file)
index 0000000..3eaad05
--- /dev/null
@@ -0,0 +1,4 @@
+Files:
+ *
+Copyright: 2024-2026 Bastian Dehn
+License: MIT
\ No newline at end of file