summaryrefslogtreecommitdiffstats
path: root/udev/Makefile.am
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-07-26 17:08:41 +0200
committerGravatar Martin Szulecki2014-09-19 18:54:02 +0200
commit577538f213cd7132c7450db393fd6fef6bb46b5a (patch)
tree74a21364696e0e2f375613e1c45006d5e6779dc0 /udev/Makefile.am
parentb7976d2a53b27ec9c42f81a22e91704dbcc5fb53 (diff)
downloadusbmuxd-577538f213cd7132c7450db393fd6fef6bb46b5a.tar.gz
usbmuxd-577538f213cd7132c7450db393fd6fef6bb46b5a.tar.bz2
Add systemd activation autofoo with fallback for udev and manual activation
Diffstat (limited to 'udev/Makefile.am')
-rw-r--r--udev/Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/udev/Makefile.am b/udev/Makefile.am
new file mode 100644
index 0000000..95f565d
--- /dev/null
+++ b/udev/Makefile.am
@@ -0,0 +1,20 @@
+edit = \
+ $(SED) -r \
+ -e 's|@udev_activation_rule[@]|$(udev_activation_rule)|g' \
+ -e 's|@sbindir[@]|$(sbindir)|g' \
+ < $< > $@ || rm $@
+
+udevrules_DATA = \
+ 39-usbmuxd.rules
+
+39-usbmuxd.rules: 39-usbmuxd.rules.in
+ $(edit)
+
+EXTRA_DIST = \
+ 39-usbmuxd.rules.in
+
+MAINTAINERCLEANFILES = \
+ 39-usbmuxd.rules
+
+CLEANFILES = \
+ 39-usbmuxd.rules