Commit 69ad64a1 authored by Lubomir Rintel's avatar Lubomir Rintel 🥕

Relocate the paths autodetected with pkg-config under PREFIX

The udev pkg-config file is not happy about relocating anything. Thus
for an umprivileged install one still has to do

  make install UDEV_DIR="" PREFIX=...
parent c570acd7
......@@ -15,10 +15,10 @@ DIST_DIR = $(MINIPRO)-$(VERSION)
UDEV_DIR=$(shell pkg-config --silence-errors --variable=udevdir udev)
UDEV_DIR=$(shell pkg-config --define-variable=prefix=$(PREFIX) --silence-errors --variable=udevdir udev)
COMPLETIONS_DIR=$(shell pkg-config --silence-errors --variable=completionsdir bash-completion)
COMPLETIONS_DIR=$(shell pkg-config --define-variable=prefix=$(PREFIX) --silence-errors --variable=completionsdir bash-completion)
libusb_CFLAGS = $(shell pkg-config --cflags libusb-1.0)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment