Displaying 5 results from an estimated 5 matches for "bashcompletion_data".
2014 Oct 31
3
[PATCH] Fix, simplify out-of-tree build/install for bash completions
...rt-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:
$(mkdir_p) $(DESTDIR)$(bashcompletiondir)
- cp -d $(scripts) $(DESTDIR)...
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 Nov 04
1
[PATCH] bash: fix build/clean when srcdir==builddir
...9 @@ EXTRA_DIST = \
README \
$(scripts)
+CLEANFILES = \
+ $(symlinks)
+
# Some of the scripts are simply symbolic links.
virt-cat virt-df virt-edit virt-filesystems virt-format virt-inspector \
virt-log virt-ls virt-sysprep:
@@ -60,13 +63,13 @@ bashcompletiondir = $(BASH_COMPLETIONS_DIR)
#bashcompletion_DATA = $(scripts)
all-local: $(scripts) $(symlinks)
- test $(srcdir) != $(builddir) && cd $(srcdir) && cp $(scripts) $(abs_builddir)/
+ -test $(srcdir) != $(builddir) && cd $(srcdir) && cp $(scripts) $(abs_builddir)/
install-data-local:
$(mkdir_p) $(DESTDIR)$(bash...
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-local: $(scripts)
> +install-data-local:
> $(mkdir_p) $(DESTDIR)$(bashc...
2019 Jul 11
1
[p2v PATCH] Add bash completion scripts
...stribute 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)$(bashcompletiondir)
+ cp -d $(scripts) $(symlinks) $(DESTDIR)$(bashcompletiondir)
+
+clean-local:
+ -te...