summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-03 11:14:41 +0100
committerErich Eckner <git@eckner.net>2019-02-03 11:14:41 +0100
commitb2d7cbe56d536ea303940d912566659663abcd69 (patch)
tree2da4cce2667544012611faaa5541f2b25a7ed778 /Makefile
parent7084cd8c95187949d2ed534149c9f1ba04169332 (diff)
downloadhardlinkedBackups-b2d7cbe56d536ea303940d912566659663abcd69.tar.xz
systemd service and timer files new
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