summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-16 20:12:10 +0100
committerErich Eckner <git@eckner.net>2019-01-16 20:12:10 +0100
commitbd9f4651da49ac3fc2aa9b43c78aab40d75d7b76 (patch)
treec283969adf03897a624ac30b0658cd0a6a085935 /Makefile
parentbde3182e3f61fd0624816a34a644dd93a5677b8d (diff)
downloadupdate-ddns-bd9f4651da49ac3fc2aa9b43c78aab40d75d7b76.tar.xz
ship systemd service and timer file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index edcbfc9..a408694 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@
DESTDIR =
ETCDIR = /etc
BINDIR = /usr/bin
+LIBDIR = /usr/lib
MANDIR = /usr/share/man
VERSION = 0.1.7
@@ -42,6 +43,7 @@ all: update-ddns
install: all
install -D -m0755 update-ddns $(DESTDIR)$(BINDIR)/update-ddns
install -D -m0644 update-ddns.conf $(DESTDIR)$(ETCDIR)/update-ddns.conf
+ install -D -m0644 -t $(DESTDIR)$(LIBDIR)/systemd/system update-ddns.service update-ddns.timer
clean:
ls -A | \