From df9f347849d45ada9c4b6824b5ff78ad3e4b718f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 1 Dec 2016 09:24:27 +0100 Subject: Logging some container actions in container program to /var/log/container-tools/container.log. Signed-off-by: Daniel Baumann --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1121655..8553973 100644 --- a/Makefile +++ b/Makefile @@ -107,7 +107,11 @@ install: build mkdir -p $(DESTDIR)/lib/systemd/system cp -r share/systemd/* $(DESTDIR)/lib/systemd/system + mkdir -p $(DESTDIR)/var/log/$(SOFTWARE) + uninstall: + rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/var/log/$(SOFTWARE) || true + for FILE in share/systemd*; \ do \ if [ -e "$${FILE}" ]; \ -- cgit v1.2.3