diff options
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..1d40c25 --- /dev/null +++ b/systemd/Makefile.am | |||
@@ -0,0 +1,21 @@ | |||
1 | edit = \ | ||
2 | $(SED) -r \ | ||
3 | -e 's|@sbindir[@]|$(sbindir)|g' \ | ||
4 | -e 's|@runstatedir[@]|$(runstatedir)|g' \ | ||
5 | < $< > $@ || rm $@ | ||
6 | |||
7 | if WANT_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 | ||