From 66663bd243ff29219b9f0090b6cb02be29b1d059 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 12 Mar 2016 07:30:13 +0100 Subject: Adding container-autostart program. Signed-off-by: Daniel Baumann --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d934242..1e2a083 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,18 @@ install: build ln -s container.1 $(DESTDIR)/usr/share/man/man1/cnt.1 ln -s container-shell.1 $(DESTDIR)/usr/share/man/man1/cntsh.1 + mkdir -p $(DESTDIR)/lib/systemd/system + cp -r share/systemd/* $(DESTDIR)/lib/systemd/system + uninstall: + for FILE in share/systemd*; \ + do \ + if [ -e "$${FILE}" ]; \ + then \ + rm -f $(DESTDIR)/lib/systemd/system/$$(basename $${FILE}); \ + fi; \ + done + for SECTION in $$(seq 1 8); \ do \ for FILE in share/man/*.$${SECTION}; \ -- cgit v1.2.3