aboutsummaryrefslogtreecommitdiff
path: root/scribiu.pro
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2020-04-12 02:19:39 +0200
committerJavier <dev.git@javispedro.com>2020-04-12 02:19:39 +0200
commit554a87c601dbd67b45fddc9a8362b82a5b89c5e4 (patch)
treea908c682b9f9506267f9be5016f5573b673fedcc /scribiu.pro
parent5cb277888995edecfafd83fed4cf2bd510052a4b (diff)
downloadscribiu-554a87c601dbd67b45fddc9a8362b82a5b89c5e4.tar.gz
scribiu-554a87c601dbd67b45fddc9a8362b82a5b89c5e4.zip
allow overriding udevdir
Diffstat (limited to 'scribiu.pro')
-rw-r--r--scribiu.pro6
1 files changed, 5 insertions, 1 deletions
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