diff --git a/contrib/bash_completion.d/Makefile.am b/contrib/bash_completion.d/Makefile.am index d3e6c0e790..86c05da7c3 100644 --- a/contrib/bash_completion.d/Makefile.am +++ b/contrib/bash_completion.d/Makefile.am @@ -1,6 +1,7 @@ nodist_bashcompletion_DATA = %D%/zfs %D%/zpool COMPLETION_FILES = %D%/zfs -SUBSTFILES += $(COMPLETION_FILES) +SUBSTFILES += $(COMPLETION_FILES) +CLEANFILES += %D%/zpool SHELLCHECKSCRIPTS += $(COMPLETION_FILES) $(call SHELLCHECK_OPTS,$(COMPLETION_FILES)): SHELLCHECK_SHELL = bash