From: Diego Elio Pettenò Date: Sat, 9 Feb 2013 20:18:26 +0000 (+0100) Subject: build: use pkg-config to find out where to install the hwdb files. X-Git-Tag: hwids-20130209.1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=30c411aef6819cf069cc640dac00e1ac952fc8e9;p=oweals%2Fhwids.git build: use pkg-config to find out where to install the hwdb files. --- diff --git a/Makefile b/Makefile index 60932e4..9400689 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ compress: pci.ids.gz usb.ids.gz gzip -c $< > $@ MISCDIR=/usr/share/misc -HWDBDIR=/usr/lib/udev/hwdb.d +HWDBDIR=$(shell pkg-config --variable=udevdir udev)/hwdb.d DOCDIR=/usr/share/doc/hwids install-base: compress