diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-03-12 06:30:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-03-31 14:30:16 +0000 |
commit | 66663bd243ff29219b9f0090b6cb02be29b1d059 (patch) | |
tree | 1ec0136e3580f5473d1c2b40e1a72511d2bc22f7 /Makefile | |
parent | Adding container-shell program. (diff) | |
download | compute-tools-66663bd243ff29219b9f0090b6cb02be29b1d059.tar.xz compute-tools-66663bd243ff29219b9f0090b6cb02be29b1d059.zip |
Adding container-autostart program.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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}; \ |