diff options
| author | 2014-07-26 17:08:41 +0200 | |
|---|---|---|
| committer | 2014-09-19 18:54:02 +0200 | |
| commit | 577538f213cd7132c7450db393fd6fef6bb46b5a (patch) | |
| tree | 74a21364696e0e2f375613e1c45006d5e6779dc0 /systemd/Makefile.am | |
| parent | b7976d2a53b27ec9c42f81a22e91704dbcc5fb53 (diff) | |
| download | usbmuxd-577538f213cd7132c7450db393fd6fef6bb46b5a.tar.gz usbmuxd-577538f213cd7132c7450db393fd6fef6bb46b5a.tar.bz2 | |
Add systemd activation autofoo with fallback for udev and manual activation
Diffstat (limited to 'systemd/Makefile.am')
| -rw-r--r-- | systemd/Makefile.am | 21 |
1 files changed, 21 insertions, 0 deletions
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 @@ | |||
| 1 | edit = \ | ||
| 2 | $(SED) -r \ | ||
| 3 | -e 's|@sbindir[@]|$(sbindir)|g' \ | ||
| 4 | -e 's|@localstatedir[@]|$(localstatedir)|g' \ | ||
| 5 | < $< > $@ || rm $@ | ||
| 6 | |||
| 7 | if HAVE_SYSTEMD | ||
| 8 | |||
| 9 | systemdsystemunit_DATA = \ | ||
| 10 | usbmuxd.service | ||
| 11 | |||
| 12 | usbmuxd.service: usbmuxd.service.in | ||
| 13 | $(edit) | ||
| 14 | |||
| 15 | EXTRA_DIST = \ | ||
| 16 | usbmuxd.service.in | ||
| 17 | |||
| 18 | CLEANFILES = \ | ||
| 19 | usbmuxd.service | ||
| 20 | |||
| 21 | endif | ||
