diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-02-26 03:50:35 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-02-26 03:51:34 +0100 |
commit | 06fee274b0741bf2a09fde93fb375226d35cb658 (patch) | |
tree | 9998df09433fafe48696de526996672ff195f41b /usb-db | |
parent | 90a007f6a34f3cff729ed5fbc8020085bd4f7a8b (diff) |
add autoconf logic to find usb.ids/pci.ids
Diffstat (limited to 'usb-db')
-rw-r--r-- | usb-db/Makefile.am | 4 |
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 |