At that point the dependencies are more relevant and we will also avoid shipping
symlinks.

Signed-off-by: Martin Kletzander <[email protected]>
---
 bash/Makefile.am | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/bash/Makefile.am b/bash/Makefile.am
index 4245eca485a2..7a222fc90bae 100644
--- a/bash/Makefile.am
+++ b/bash/Makefile.am
@@ -24,25 +24,19 @@ EXTRA_DIST = \
 
 if HAVE_BASH_COMPLETION
 
-dist_bashcomp_DATA = nbdfuse nbdsh
+bashcomp_DATA = nbdfuse nbdsh
 
 if HAVE_LIBXML2
-dist_bashcomp_DATA += nbdcopy nbdinfo
+bashcomp_DATA += nbdcopy nbdinfo
 endif HAVE_LIBXML2
 
-
 nbdcopy: nbdsh
-       rm -f $@
-       $(LN_S) $(srcdir)/nbdsh $@
+       $(LN_S) nbdsh $@
 
 nbdfuse: nbdsh
-       rm -f $@
-       $(LN_S) $(srcdir)/nbdsh $@
+       $(LN_S) nbdsh $@
 
 nbdinfo: nbdsh
-       rm -f $@
-       $(LN_S) $(srcdir)/nbdsh $@
-
-CLEANFILES += nbdcopy nbdfuse nbdinfo
+       $(LN_S) nbdsh $@
 
 endif
-- 
2.32.0

_______________________________________________
Libguestfs mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/libguestfs

Reply via email to