aboutsummaryrefslogtreecommitdiff
path: root/scribiu.pro
diff options
context:
space:
mode:
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