[Pkg-libvirt-commits] [libguestfs] 42/61: bash-completion: Install symbolic links instead of copies of files (RHBZ#1156298).
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 31 19:09:40 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.28.2-1
in repository libguestfs.
commit 821ce3a2b312827eeaf3b006a0f589ddcd685bbd
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Fri Oct 24 09:13:25 2014 +0100
bash-completion: Install symbolic links instead of copies of files (RHBZ#1156298).
(cherry picked from commit a5a0c2f3b047ebb064d54d5029b1d1e475375668)
---
bash/Makefile.am | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/bash/Makefile.am b/bash/Makefile.am
index e8c33d4..10f0861 100644
--- a/bash/Makefile.am
+++ b/bash/Makefile.am
@@ -35,9 +35,14 @@ scripts = \
virt-sparsify \
virt-sysprep
+# Note: Don't distribute the symbolic links, only the real files.
EXTRA_DIST = \
README \
- $(scripts)
+ guestfish \
+ guestmount \
+ virt-alignment-scan \
+ virt-rescue \
+ virt-resize
# Some of the scripts are simply symbolic links.
virt-cat:
@@ -80,6 +85,12 @@ if HAVE_BASH_COMPLETION
# Bash completion script.
bashcompletiondir = $(BASH_COMPLETIONS_DIR)
-bashcompletion_DATA = $(scripts)
+#bashcompletion_DATA = $(scripts)
+
+all-local: $(scripts)
+
+install-data-local: $(scripts)
+ $(mkdir_p) $(DESTDIR)$(bashcompletiondir)
+ cp -d $(scripts) $(DESTDIR)$(bashcompletiondir)
endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list