diff options
Diffstat (limited to 'etc/systemd/system/Makefile.am')
-rw-r--r-- | etc/systemd/system/Makefile.am | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/etc/systemd/system/Makefile.am b/etc/systemd/system/Makefile.am index f7023dff0..b097497e0 100644 --- a/etc/systemd/system/Makefile.am +++ b/etc/systemd/system/Makefile.am @@ -18,19 +18,12 @@ EXTRA_DIST = \ $(top_srcdir)/etc/systemd/system/zfs.target.in \ $(top_srcdir)/etc/systemd/system/50-zfs.preset.in -$(systemdunit_DATA): +$(systemdunit_DATA) $(systemdpreset_DATA):%:%.in -$(SED) -e 's,@bindir\@,$(bindir),g' \ -e 's,@runstatedir\@,$(runstatedir),g' \ -e 's,@sbindir\@,$(sbindir),g' \ -e 's,@sysconfdir\@,$(sysconfdir),g' \ - "$(top_srcdir)/etc/systemd/system/[email protected]" >'$@' - -$(systemdpreset_DATA): - -$(SED) -e 's,@bindir\@,$(bindir),g' \ - -e 's,@runstatedir\@,$(runstatedir),g' \ - -e 's,@sbindir\@,$(sbindir),g' \ - -e 's,@sysconfdir\@,$(sysconfdir),g' \ - "$(top_srcdir)/etc/systemd/system/[email protected]" >'$@' + $< >'$@' distclean-local:: -$(RM) $(systemdunit_DATA) $(systemdpreset_DATA) |