From 30c411aef6819cf069cc640dac00e1ac952fc8e9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Elio=20Petten=C3=B2?= Date: Sat, 9 Feb 2013 21:18:26 +0100 Subject: [PATCH] build: use pkg-config to find out where to install the hwdb files. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1