From: Mike Frysinger Date: Fri, 30 May 2014 15:14:02 +0000 (-0400) Subject: respect $PKG_CONFIG env var X-Git-Tag: hwids-20140602~1^2^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=07b4f2e57c3db4c670aafdc646bb77a99206f0fc;p=oweals%2Fhwids.git respect $PKG_CONFIG env var --- diff --git a/Makefile b/Makefile index 6b31f9f..92f6051 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ else Q= endif +PKG_CONFIG ?= pkg-config ifeq "$(UDEV)" "yes" ALL_TARGETS=compress udev-hwdb INSTALL_TARGETS=install-base install-hwdb @@ -47,7 +48,7 @@ compress: pci.ids.gz usb.ids.gz gzip -c $< > $@ MISCDIR=/usr/share/misc -HWDBDIR=$(shell pkg-config --variable=udevdir udev)/hwdb.d +HWDBDIR=$(shell $(PKG_CONFIG) --variable=udevdir udev)/hwdb.d DOCDIR=/usr/share/doc/hwids install-base: compress