diff options
author | наб <[email protected]> | 2022-04-10 23:10:02 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-05-10 10:20:40 -0700 |
commit | 612b8dff5bc3d827efb864a199a62bda1a419254 (patch) | |
tree | 3bb365a6bd5dd33c455ff107edda4971637eeef8 /contrib/bash_completion.d | |
parent | 0a9aaa7f0cc16f1771f492cce665bc5c5eb8e735 (diff) |
contrib: bash_completion.d: install, fix dist
dist diff:
-zfs-2.1.99/contrib/bash_completion.d/zfs
install diff:
+destdir/usr/local/etc/bash_completion.d
+destdir/usr/local/etc/bash_completion.d/zfs
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13316
Diffstat (limited to 'contrib/bash_completion.d')
-rw-r--r-- | contrib/bash_completion.d/Makefile.am | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/contrib/bash_completion.d/Makefile.am b/contrib/bash_completion.d/Makefile.am index 4f451fb1d..dc4b610c4 100644 --- a/contrib/bash_completion.d/Makefile.am +++ b/contrib/bash_completion.d/Makefile.am @@ -1,6 +1,7 @@ -noinst_DATA = %D%/zfs -EXTRA_DIST += $(noinst_DATA) -SUBSTFILES += $(noinst_DATA) +bashcompletiondir = $(sysconfdir)/bash_completion.d -SHELLCHECKSCRIPTS += $(noinst_DATA) -$(call SHELLCHECK_OPTS,$(noinst_DATA)): SHELLCHECK_SHELL = bash +nodist_bashcompletion_DATA = %D%/zfs +SUBSTFILES += $(nodist_bashcompletion_DATA) + +SHELLCHECKSCRIPTS += $(nodist_bashcompletion_DATA) +$(call SHELLCHECK_OPTS,$(nodist_bashcompletion_DATA)): SHELLCHECK_SHELL = bash |