summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2b38491..7c08c7c 100644
--- a/Makefile
+++ b/Makefile
@@ -23,11 +23,12 @@ SHELL = /bin/bash
DESTDIR =
ETCDIR = /etc
BINDIR = /usr/bin
+LIBDIR = /usr/lib
MANDIR = /usr/share/man
VERSION = 1.3.1
-all: man.commons backup backup.1 backupStatistics backupStatistics.1 lastBackups lastBackups.1 removeOldBackups removeOldBackups.1
+all: man.commons backup backup.1 backup@.service backup@.timer backupStatistics backupStatistics.1 lastBackups lastBackups.1 removeOldBackups removeOldBackups.1
%: %.in
sed " \
@@ -47,6 +48,7 @@ all: man.commons backup backup.1 backupStatistics backupStatistics.1 lastBackups
install: all
install -D -m0755 -t $(DESTDIR)$(BINDIR) backup backupStatistics lastBackups removeOldBackups
+ install -D -m0644 -t $(DESTDIR)$(LIBDIR)/systemd/system backup@.service backup@.timer
install -D -m0644 -t $(DESTDIR)$(MANDIR)/man1 backup.1 backupStatistics.1 lastBackups.1 removeOldBackups.1
install -D -m0644 -t $(DESTDIR)$(ETCDIR) backup.conf