summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-19 17:49:25 +0200
committerErich Eckner <git@eckner.net>2019-04-19 17:49:25 +0200
commite3b19b185897f147218088161aeb30b8aa4e8201 (patch)
treeac5881e8d42a8e7a8c7293a489769a83323aeea5 /Makefile
parent71f343a54fb5a45d51ac7f0602f5c5b3c2e701de (diff)
downloaddigest-mailer-e3b19b185897f147218088161aeb30b8aa4e8201.tar.xz
systemd service and timer file new
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dca30a7..0079eb0 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ MANDIR = /usr/share/man
VERSION = 0.3
-all: man.commons digest-mailer digest-mailer.1 digest-mailer.conf
+all: man.commons digest-mailer digest-mailer.1 digest-mailer.conf digest-mailer.service
%: %.in
sed " \
@@ -52,6 +52,7 @@ install: all
install -D -m0755 digest-mailer $(DESTDIR)$(BINDIR)/digest-mailer
install -D -m0644 digest-mailer.1 $(DESTDIR)$(MANDIR)/man1/digest-mailer.1
install -D -m0644 digest-mailer.conf $(DESTDIR)$(ETCDIR)/digest-mailer.conf
+ install -D -m0644 -t $(DESTDIR)$(LIBDIR)/systemd/system/ digest-mailer.service digest-mailer.timer
clean:
ls -A | \