summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-03-12 06:30:13 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-03-31 14:30:16 +0000
commit66663bd243ff29219b9f0090b6cb02be29b1d059 (patch)
tree1ec0136e3580f5473d1c2b40e1a72511d2bc22f7 /Makefile
parentAdding container-shell program. (diff)
downloadcompute-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 '')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
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}; \