summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f9ad2a9..0ab8d6e 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,9 @@ clean:
install:
install -Dm 644 config/default.json $(DESTDIR)/etc/xbackup/config.json
+ mkdir -p $(DESTDIR)/var/lib/xbackup/borg
+ chown -R root:root $(DESTDIR)/var/lib/xbackup
+ chmod -R 700 $(DESTDIR)/var/lib/xbackup
make -C src install DESTDIR=$(abspath $(DESTDIR))