--- a/Makefile.am
+++ b/Makefile.am
@@ -61,7 +61,7 @@ EXTRA_DIST = \
LICENSES/GPL-3.0-only.txt
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