From 577538f213cd7132c7450db393fd6fef6bb46b5a Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sat, 26 Jul 2014 17:08:41 +0200 Subject: Add systemd activation autofoo with fallback for udev and manual activation --- systemd/Makefile.am | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 systemd/Makefile.am (limited to 'systemd/Makefile.am') diff --git a/systemd/Makefile.am b/systemd/Makefile.am new file mode 100644 index 0000000..6626d60 --- /dev/null +++ b/systemd/Makefile.am @@ -0,0 +1,21 @@ +edit = \ + $(SED) -r \ + -e 's|@sbindir[@]|$(sbindir)|g' \ + -e 's|@localstatedir[@]|$(localstatedir)|g' \ + < $< > $@ || rm $@ + +if HAVE_SYSTEMD + +systemdsystemunit_DATA = \ + usbmuxd.service + +usbmuxd.service: usbmuxd.service.in + $(edit) + +EXTRA_DIST = \ + usbmuxd.service.in + +CLEANFILES = \ + usbmuxd.service + +endif -- cgit v1.1-32-gdbae