---
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
--
2.0.4