1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
edit = \ $(SED) -r \ -e 's|@sbindir[@]|$(sbindir)|g' \ -e 's|@localstatedir[@]|$(localstatedir)|g' \ < $< > $@ || rm $@ if WANT_SYSTEMD systemdsystemunit_DATA = \ usbmuxd.service usbmuxd.service: usbmuxd.service.in $(edit) EXTRA_DIST = \ usbmuxd.service.in CLEANFILES = \ usbmuxd.service endif