bash-completion: Remove completion scripts for tools.

These have moved to guestfs-tools.

Fixes: commit 733d2182b6
This commit is contained in:
Richard W.M. Jones
2021-03-23 11:08:42 +00:00
parent eb53d74ba2
commit 4991fe5259
3 changed files with 2 additions and 60 deletions

View File

@@ -20,35 +20,16 @@ include $(top_srcdir)/subdir-rules.mk
scripts = \
guestfish \
guestmount \
guestunmount \
libguestfs-test-tool \
virt-alignment-scan \
virt-rescue
# Some of the scripts are simply symbolic links.
symlinks = \
guestunmount \
virt-builder \
virt-cat \
virt-copy-in \
virt-copy-out \
virt-customize \
virt-diff \
virt-df \
virt-dib \
virt-edit \
virt-filesystems \
virt-format \
virt-get-kernel \
virt-inspector \
virt-log \
virt-ls \
virt-resize \
virt-sparsify \
virt-sysprep \
virt-tail \
virt-tar-in \
virt-tar-out \
virt-win-reg
virt-tar-out
# Note: Don't distribute the symbolic links, only the real files.
EXTRA_DIST = \
@@ -59,26 +40,6 @@ EXTRA_DIST = \
CLEANFILES += \
$(symlinks)
# Any tool that has --short-options and --long-options only is handled
# by this common script.
virt-win-reg:
rm -f $@
$(LN_S) libguestfs-test-tool $@
# Any tool that has --short-options and --long-options and a few
# common options like -d is handled by this common script. However
# this script cannot deal with commands that use --ro/--rw
# (eg. virt-rescue), nor commands that have lots of exceptions
# (eg. guestfish). Those tools have to be handled individually.
guestunmount \
virt-builder virt-cat virt-customize virt-df virt-dib virt-diff \
virt-edit virt-filesystems virt-format virt-get-kernel virt-inspector \
virt-log virt-ls \
virt-resize virt-sparsify virt-sysprep \
virt-tail:
rm -f $@
$(LN_S) virt-alignment-scan $@
# guestfish is handled specially.
virt-copy-in virt-copy-out virt-tar-in virt-tar-out:
rm -f $@