mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
8560887e88
The utility switched from /usr/share to ${datadir}, but it is still not enough for use. It would be nice if upstream provided configure flag.
17 lines
537 B
Diff
17 lines
537 B
Diff
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -51,11 +51,11 @@
|
|
usbreset.c
|
|
|
|
lsusb.py: $(srcdir)/lsusb.py.in
|
|
- sed 's|VERSION|$(VERSION)|g;s|@usbids@|$(datadir)/usb.ids|g' $< >$@
|
|
+ sed 's|VERSION|$(VERSION)|g;s|@usbids@|@hwdata@/share/hwdata/usb.ids|g' $< >$@
|
|
chmod 755 $@
|
|
|
|
lsusb.8: $(srcdir)/lsusb.8.in
|
|
- sed 's|VERSION|$(VERSION)|g;s|@usbids@|$(datadir)/usb.ids|g' $< >$@
|
|
+ sed 's|VERSION|$(VERSION)|g;s|@usbids@|@hwdata@/share/hwdata/usb.ids|g' $< >$@
|
|
|
|
usb-devices.1: $(srcdir)/usb-devices.1.in
|
|
sed 's|VERSION|$(VERSION)|g' $< >$@
|