File: use-correct-udev-path.diff

package info (click to toggle)
linux-gpib-user 4.3.7-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,752 kB
  • sloc: ansic: 10,381; perl: 1,120; xml: 375; makefile: 335; yacc: 335; tcl: 308; python: 173; php: 157; lex: 144; sh: 134; lisp: 94
file content (52 lines) | stat: -rw-r--r-- 1,672 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Description: Install the udev files into their correct location 
 To comply with policy we install those into /usr/lib/udev
Author: Matthias Geiger <werdahias@debian.org>
Forwarded: no
Last-Update: 2025-08-06
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/

--- a/usb/Makefile.am
+++ b/usb/Makefile.am
@@ -11,7 +11,7 @@
 EXTRA_DIST = 98-gpib-generic.rules gpib_udev_fxloader.in gpib_udev_config udevadm.sh
 CLEANFILES = gpib_udev_fxloader
 
-UDEV_RULES_DIR = $(sysconfdir)/udev/rules.d
+UDEV_RULES_DIR = /usr/lib/udev/rules.d
 
 do_subst = $(SED) -e 's,[@]sbindir[@],$(sbindir),g'\
 	-e 's,[@]datadir[@],$(datadir),g'\
--- a/usb/agilent_82357a/Makefile.am
+++ b/usb/agilent_82357a/Makefile.am
@@ -11,7 +11,7 @@
 CLEANFILES = 99-agilent_82357a.rules
 
 USB_FIRMWARE_DIR=$(datadir)/usb
-UDEV_RULES_DIR=$(sysconfdir)/udev/rules.d
+UDEV_RULES_DIR=/usr/lib/udev/rules.d
 
 do_subst = $(SED) -e 's,[@]sbindir[@],$(sbindir),g'\
 	-e 's,[@]datadir[@],$(datadir),g'\
--- a/usb/lpvo_usb_gpib/Makefile.am
+++ b/usb/lpvo_usb_gpib/Makefile.am
@@ -10,7 +10,7 @@
 EXTRA_DIST = 99-lpvo_usb_gpib.rules.in lpvo_usb_gpib.conf
 CLEANFILES = 99-lpvo_usb_gpib.rules
 
-UDEV_RULES_DIR=$(sysconfdir)/udev/rules.d
+UDEV_RULES_DIR=/usr/lib/udev/rules.d
 
 do_subst = $(SED) -e 's,[@]sbindir[@],$(sbindir),g'\
 	-e 's,[@]datadir[@],$(datadir),g'\
--- a/usb/ni_usb_gpib/Makefile.am
+++ b/usb/ni_usb_gpib/Makefile.am
@@ -11,7 +11,7 @@
 CLEANFILES = 99-ni_usb_gpib.rules
 
 USB_FIRMWARE_DIR=$(datadir)/usb
-UDEV_RULES_DIR=$(sysconfdir)/udev/rules.d
+UDEV_RULES_DIR=/usr/lib/udev/rules.d
 
 do_subst = $(SED) -e 's,[@]sbindir[@],$(sbindir),g'\
 	-e 's,[@]datadir[@],$(datadir),g'\