summaryrefslogtreecommitdiffstats
path: root/contrib/dracut/02zfsexpandknowledge
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/dracut/02zfsexpandknowledge')
-rw-r--r--contrib/dracut/02zfsexpandknowledge/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/dracut/02zfsexpandknowledge/Makefile.am b/contrib/dracut/02zfsexpandknowledge/Makefile.am
index 0a2170bfc..a5c567c16 100644
--- a/contrib/dracut/02zfsexpandknowledge/Makefile.am
+++ b/contrib/dracut/02zfsexpandknowledge/Makefile.am
@@ -5,7 +5,7 @@ pkgdracut_SCRIPTS = \
EXTRA_DIST = \
$(top_srcdir)/contrib/dracut/02zfsexpandknowledge/module-setup.sh.in
-$(pkgdracut_SCRIPTS):
+$(pkgdracut_SCRIPTS):%:%.in
-$(SED) -e 's,@bindir\@,$(bindir),g' \
-e 's,@sbindir\@,$(sbindir),g' \
-e 's,@datadir\@,$(datadir),g' \
@@ -13,7 +13,7 @@ $(pkgdracut_SCRIPTS):
-e 's,@udevdir\@,$(udevdir),g' \
-e 's,@udevruledir\@,$(udevruledir),g' \
-e 's,@sysconfdir\@,$(sysconfdir),g' \
- "$(top_srcdir)/contrib/dracut/02zfsexpandknowledge/[email protected]" >'$@'
+ $< >'$@'
clean-local::
-$(RM) $(pkgdracut_SCRIPTS)