summaryrefslogtreecommitdiffstats
path: root/usb-db
diff options
context:
space:
mode:
Diffstat (limited to 'usb-db')
-rw-r--r--usb-db/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/usb-db/Makefile.am b/usb-db/Makefile.am
index 82d8fe6..fb13d10 100644
--- a/usb-db/Makefile.am
+++ b/usb-db/Makefile.am
@@ -6,11 +6,11 @@ udevhome_PROGRAMS = usb-db pci-db
COMMON_CPPFLAGS = $(AM_CPPFLAGS) $(LIBUDEV_CFLAGS)
usb_db_SOURCES = usb-db.c
-usb_db_CPPFLAGS = $(COMMON_CPPFLAGS) -DUSB_DATABASE=\"/usr/share/hwdata/usb.ids\" -DBUILD_FOR_USB
+usb_db_CPPFLAGS = $(COMMON_CPPFLAGS) -DUSB_DATABASE=\"$(USB_DATABASE)\" -DBUILD_FOR_USB
usb_db_LDADD = $(LIBUDEV_LIBS)
pci_db_SOURCES = $(usb_db_SOURCES)
-pci_db_CPPFLAGS = $(COMMON_CPPFLAGS) -DPCI_DATABASE=\"/usr/share/hwdata/pci.ids\" -DBUILD_FOR_PCI
+pci_db_CPPFLAGS = $(COMMON_CPPFLAGS) -DPCI_DATABASE=\"$(PCI_DATABASE)\" -DBUILD_FOR_PCI
pci_db_LDADD = $(usb_db_LDADD)
#udevrulesdir = $(udev_prefix)/lib/udev/rules.d