summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index db5fb3a..930dc7b 100644
--- a/Makefile
+++ b/Makefile
@@ -8,13 +8,14 @@ prefix=/usr
bindir=${prefix}/bin
etcdir=/etc
mandir=${prefix}/share/man
+vardir=/var
INSTALL=install
INSTALL_EXE=${INSTALL} -D
INSTALL_DATA=${INSTALL} -m 0644 -D
install:
- mkdir -p $(DESTDIR)$(etcdir)/etckeeper/
+ mkdir -p $(DESTDIR)$(etcdir)/etckeeper/ $(DESTDIR)$(vardir)/cache/etckeeper/
cp -a *.d $(DESTDIR)$(etcdir)/etckeeper/
$(INSTALL_DATA) $(CONFFILE) $(DESTDIR)$(etcdir)/etckeeper/etckeeper.conf
$(INSTALL_EXE) etckeeper $(DESTDIR)$(bindir)/etckeeper