diff options
author | Javier <dev.git@javispedro.com> | 2020-04-12 02:19:39 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2020-04-12 02:19:39 +0200 |
commit | 554a87c601dbd67b45fddc9a8362b82a5b89c5e4 (patch) | |
tree | a908c682b9f9506267f9be5016f5573b673fedcc | |
parent | 5cb277888995edecfafd83fed4cf2bd510052a4b (diff) | |
download | scribiu-554a87c601dbd67b45fddc9a8362b82a5b89c5e4.tar.gz scribiu-554a87c601dbd67b45fddc9a8362b82a5b89c5e4.zip |
allow overriding udevdir
-rw-r--r-- | scribiu.pro | 6 |
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 |