summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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}" ]; \