summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-04-11 19:24:01 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-04-16 10:19:48 +0000
commit83b6276b9f7b868e2e2317059e06fae2c73b02fb (patch)
tree2babc9beac250043d8a3ef3677404b23a62f4330 /Makefile
parentExcluding lost+found directory in container list command. (diff)
downloadcompute-tools-83b6276b9f7b868e2e2317059e06fae2c73b02fb.tar.xz
compute-tools-83b6276b9f7b868e2e2317059e06fae2c73b02fb.zip
Creating container program shortcut symlinks in makefile instead of keeping them in the sources.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0a8831a..8425354 100644
--- a/Makefile
+++ b/Makefile
@@ -77,7 +77,9 @@ install: build
fi; \
done
+ ln -sf container $(DESTDIR)/usr/bin/cnt
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
mkdir -p $(DESTDIR)/lib/systemd/system
@@ -104,7 +106,9 @@ uninstall:
rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/usr/share/man/man$${SECTION} || true; \
done
+ rm -f $(DESTDIR)/usr/bin/cnt
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 -rf $(DESTDIR)/usr/share/doc/$(SOFTWARE)