From 83b6276b9f7b868e2e2317059e06fae2c73b02fb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 11 Apr 2016 21:24:01 +0200 Subject: Creating container program shortcut symlinks in makefile instead of keeping them in the sources. Signed-off-by: Daniel Baumann --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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) -- cgit v1.2.3