Displaying 9 results from an estimated 9 matches for "have_bash_complet".
2014 Oct 24
5
[PATCH 0/2] bash-completion: Install symbolic links instead of copies of files (RHBZ#1156298).
Previously we copied the files instead of the symlinks.
2014 Oct 31
3
[PATCH] Fix, simplify out-of-tree build/install for bash completions
...virt-df virt-edit virt-filesystems virt-format virt-inspector \
+virt-log virt-ls virt-sysprep:
rm -f $@
$(LN_S) virt-alignment-scan $@
-virt-builder:
- rm -f $@
- $(LN_S) virt-resize $@
-virt-sparsify:
+virt-builder virt-sparsify:
rm -f $@
$(LN_S) virt-resize $@
@@ -87,10 +59,14 @@ if HAVE_BASH_COMPLETION
bashcompletiondir = $(BASH_COMPLETIONS_DIR)
#bashcompletion_DATA = $(scripts)
-all-local: $(scripts)
+all-local: $(scripts) $(symlinks)
+ test $(srcdir) != $(builddir) && cd $(srcdir) && cp $(scripts) $(abs_builddir)/
-install-data-local: $(scripts)
+install-data-local:
$...
2019 Jul 11
1
[p2v PATCH] Add bash completion scripts
...bolic links.
+symlinks = \
+ virt-p2v-make-kickstart \
+ virt-p2v-make-kiwi
+
+# Note: Don't distribute the symbolic links, only the real files.
+EXTRA_DIST = \
+ README \
+ $(scripts) \
+ $(TESTS)
+
+CLEANFILES += \
+ $(symlinks)
+
+$(symlinks):
+ rm -f $@
+ $(LN_S) virt-p2v-make-disk $@
+
+if HAVE_BASH_COMPLETION
+
+# Bash completion script.
+
+bashcompletiondir = $(BASH_COMPLETIONS_DIR)
+#bashcompletion_DATA = $(scripts)
+
+all-local: $(scripts) $(symlinks)
+ -test $(srcdir) != $(builddir) && cd $(srcdir) && cp $(scripts) $(abs_builddir)/
+
+install-data-local:
+ $(mkdir_p) $(DESTDIR)$(b...
2014 Nov 04
0
Re: [PATCH] Fix, simplify out-of-tree build/install for bash completions
On Friday 31 October 2014 20:03:22 Hilko Bengen wrote:
> @@ -87,10 +59,14 @@ if HAVE_BASH_COMPLETION
> bashcompletiondir = $(BASH_COMPLETIONS_DIR)
> #bashcompletion_DATA = $(scripts)
>
> -all-local: $(scripts)
> +all-local: $(scripts) $(symlinks)
> + test $(srcdir) != $(builddir) && cd $(srcdir) && cp $(scripts)
> $(abs_builddir)/
>
> -install-data...
2018 Dec 07
0
Re: [nbdkit PATCH] build: Allow 'make install' into non-root --prefix: bash-completion
...ULT([$bashcompdir])
- AC_SUBST([bashcompdir])
],[
bash_completion=no
AC_MSG_WARN([bash-completion not installed])
diff --git i/bash/Makefile.am w/bash/Makefile.am
index e46784c..3b20c1b 100644
--- i/bash/Makefile.am
+++ w/bash/Makefile.am
@@ -36,6 +36,8 @@ EXTRA_DIST = README
if HAVE_BASH_COMPLETION
+bashcompdir = $(sysconfdir)/bash_completion.d
+
dist_bashcomp_DATA = nbdkit
endif
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
2018 Dec 07
2
[nbdkit PATCH] build: Allow 'make install' into non-root --prefix: bash-completion
In general, autotooled packages are supposed to allow
'./configure --prefix=$HOME/subdir' as a way to then get
'make install' to run as non-root. In fact, 'make distcheck'
tests that this scenario works; alas, we fail due to:
/usr/bin/install -c -m 644 ../../../bash/nbdkit '/usr/share/bash-completion/completions'
/usr/bin/install: cannot remove
2016 Aug 25
0
[PATCH 5/5] bash completion: Add missing bash completion scripts (RHBZ#1367738).
...ickstart virt-p2v-make-kiwi \
+virt-resize virt-sparsify virt-sysprep:
rm -f $@
$(LN_S) virt-alignment-scan $@
-virt-builder virt-sparsify:
+# guestfish is handled specially.
+virt-copy-in virt-copy-out virt-tar-in virt-tar-out:
rm -f $@
- $(LN_S) virt-resize $@
+ $(LN_S) guestfish $@
if HAVE_BASH_COMPLETION
diff --git a/bash/guestfish b/bash/guestfish
index 0f12690..dd0984a 100644
--- a/bash/guestfish
+++ b/bash/guestfish
@@ -73,5 +73,12 @@ _guestfish ()
COMPREPLY=( $(compgen -W "$cmds" -- "$cur") )
return ;;
esac
-} &&
+}
+
complete -o...
2016 Aug 25
7
[PATCH 0/5] bash completion: Add missing bash completion scripts (RHBZ#1367738).
This implements most of RHBZ#1367738. I didn't bother
with virt-v2v-copy-to-local and virt-win-reg, but all the
other tools now have full bash completion.
Rich.
2015 Oct 29
16
[PATCH 00/16] Refactoring of configure.ac and guestfs.pod
Two (not related to each other) refactorings:
Patches 1-12 split configure.ac into smaller files using the
m4_include mechanism.
Patches 13-15 split out parts of guestfs.pod (ie. guestfs(3)) into
three new manual pages:
guestfs-hacking(3) - how to extend and contribute to libguestfs
guestfs-internals(3) - architecture and internals
guestfs-security(3) - security and CVEs
Patch 16 is a