summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAndreas Kreuzer <andreas.kreuzer@open-infrastructure.net>2016-06-17 11:45:51 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-07-01 09:22:29 +0000
commit5b4e4616d4f27eb54ca0d249f88b6ec236a602f2 (patch)
tree69be76f2616e44209b857d86053eeccb34686328 /Makefile
parentUpdating Git URL in installation instructions. (diff)
downloadcompute-tools-5b4e4616d4f27eb54ca0d249f88b6ec236a602f2.tar.xz
compute-tools-5b4e4616d4f27eb54ca0d249f88b6ec236a602f2.zip
Fixing bash-completion.
Signed-off-by: Andreas Kreuzer <andreas.kreuzer@open-infrastructure.net> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d22c32c..1a411c2 100644
--- a/Makefile
+++ b/Makefile
@@ -84,6 +84,7 @@ install: build
ln -sf container.1 $(DESTDIR)/usr/share/man/man1/cnt.1
ln -sf container-shell $(DESTDIR)/usr/bin/cntsh
ln -sf container-shell.1 $(DESTDIR)/usr/share/man/man1/cntsh.1
+ ln -sf container ${DESTDIR}/usr/share/bash-completion/completions/cnt
ln -sf debconf ${DESTDIR}/usr/share/$(SOFTWARE)/scripts/debian
ln -sf debconf.d ${DESTDIR}/usr/share/$(SOFTWARE)/scripts/debian.d
@@ -120,6 +121,7 @@ uninstall:
rm -f $(DESTDIR)/usr/share/man/man1/cnt.1
rm -f $(DESTDIR)/usr/bin/cntsh
rm -f $(DESTDIR)/usr/share/man/man1/cntsh.1
+ rm -f ${DESTDIR}/usr/share/bash-completion/completions/cnt
for FILE in share/bash-completion/*; \
do \