File: version-udev-rules

package info (click to toggle)
libm2k 0.9.0-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 95,560 kB
  • sloc: xml: 1,611,497; cpp: 16,278; python: 4,181; cs: 516; sh: 471; ansic: 403; makefile: 33
file content (22 lines) | stat: -rw-r--r-- 937 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From ceebebcb2559c5c4631495b20a2d15e1655f761a Mon Sep 17 00:00:00 2001
From: "A. Maitland Bottoms" <bottoms@debian.org>
Date: Fri, 26 Apr 2024 17:25:49 -0400
Subject: [PATCH 2/2] version udev rules
Forwarded: not-needed

Easier upgrades with every path in the library versioned.
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -188,7 +188,7 @@
 if(${CMAKE_SYSTEM_NAME} MATCHES "Linux" AND INSTALL_UDEV_RULES)
 	set(LIBM2K_UDEV_RULES "${CMAKE_CURRENT_SOURCE_DIR}/53-adi-m2k-usb.rules")
 	set(UDEV_RULES_PATH "/etc/udev/rules.d" CACHE STRING "Target directory for udev rule installation.")
-	install(FILES ${LIBM2K_UDEV_RULES} DESTINATION ${UDEV_RULES_PATH})
+	install(FILES ${LIBM2K_UDEV_RULES} DESTINATION ${UDEV_RULES_PATH} RENAME 53-adi-m2k-usb-${LIBM2K_VERSION}.rules )
 endif()
 
 configure_file(libm2k.iss.cmakein ${CMAKE_CURRENT_BINARY_DIR}/libm2k.iss @ONLY)