aboutsummaryrefslogtreecommitdiff
path: root/util/Makefile.am
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2011-01-26 22:31:16 -0700
committerLinus Walleij <triad@df.lth.se>2011-01-27 21:22:21 +0100
commitb9eed547e532341f1b57dea2386a4171280cc30b (patch)
tree5a13d3805d51f3d2054708cf1df785cd7c3b3614 /util/Makefile.am
parent5d92c8c3f0afa38ea25cca15e84ffedf189c6180 (diff)
downloadlibmtp-b9eed547e532341f1b57dea2386a4171280cc30b.tar.gz
Better configure options for udev dir and rules
Allows passing --with-udev=DIR and/or --with-udev-rules=NAME to specify the directory where udev is installed and the name of the rules file. Now mtp-probe will be installed as @UDEV@/mtp-probe and the rules file will be at @UDEV@/rules.d/@UDEV_RULES@.
Diffstat (limited to 'util/Makefile.am')
-rw-r--r--util/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/Makefile.am b/util/Makefile.am
index 078d639..078aaab 100644
--- a/util/Makefile.am
+++ b/util/Makefile.am
@@ -2,7 +2,8 @@ if USE_LINUX
bin_PROGRAMS=mtp-hotplug
mtp_hotplug_SOURCES=mtp-hotplug.c
-libexec_PROGRAMS=mtp-probe
+mtp_probedir=$(prefix)/@UDEV@
+mtp_probe_PROGRAMS=mtp-probe
mtp_probe_SOURCES=mtp-probe.c
endif