summaryrefslogtreecommitdiffstats
path: root/etc/modules-load.d/Makefile.am
diff options
context:
space:
mode:
authorChunwei Chen <[email protected]>2016-07-29 16:35:33 -0700
committerBrian Behlendorf <[email protected]>2016-08-02 10:28:29 -0700
commit5b1bc1a1d8ae284f834f239ab0309c6ce96ab74f (patch)
tree78855bdd7f842bc76120aac609df33cf29610857 /etc/modules-load.d/Makefile.am
parentb64e02e5805e84dcaa4b0820b555b9f90aa5afea (diff)
Set proper dependency for string replacement targets
A lot of string replacement target don't have dependency or incorrect dependency. We setup proper dependency by pattern rules. Signed-off-by: Chunwei Chen <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #4908
Diffstat (limited to 'etc/modules-load.d/Makefile.am')
-rw-r--r--etc/modules-load.d/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/modules-load.d/Makefile.am b/etc/modules-load.d/Makefile.am
index a6780e1f0..58c7acd44 100644
--- a/etc/modules-load.d/Makefile.am
+++ b/etc/modules-load.d/Makefile.am
@@ -4,10 +4,10 @@ modulesload_DATA = \
EXTRA_DIST = \
$(top_srcdir)/etc/modules-load.d/zfs.conf.in
-$(modulesload_DATA):
+$(modulesload_DATA):%:%.in
-$(SED) \
-e '' \
- "$(top_srcdir)/etc/modules-load.d/[email protected]" >'$@'
+ $< >'$@'
distclean-local::
-$(RM) $(modulesload_DATA)