From 554a87c601dbd67b45fddc9a8362b82a5b89c5e4 Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 12 Apr 2020 02:19:39 +0200 Subject: allow overriding udevdir --- scribiu.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scribiu.pro b/scribiu.pro index 0623205..cca4eef 100644 --- a/scribiu.pro +++ b/scribiu.pro @@ -46,9 +46,13 @@ isEmpty(PREFIX) { PREFIX = /usr } +isEmpty(UDEVDIR) { + UDEVDIR = $$system(pkg-config --variable=udevdir udev) +} + target.path = $$PREFIX/bin -udev.path = /lib/udev/rules.d +udev.path = $$UDEVDIR/rules.d udev.files = 60-livescribe.rules icon_scalable.path = $$PREFIX/share/icons/hicolor/scalable/apps -- cgit v1.2.3