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 <david.chen@osnexus.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4908
This commit is contained in:
Chunwei Chen
2016-07-29 16:35:33 -07:00
committed by Brian Behlendorf
parent b64e02e580
commit 5b1bc1a1d8
6 changed files with 12 additions and 19 deletions
+2 -2
View File
@@ -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/$@.in" >'$@'
$< >'$@'
distclean-local::
-$(RM) $(modulesload_DATA)