summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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)