diff --git a/Makefile b/Makefile index ce16a2c..65360b4 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,8 @@ PREFIX ?= /usr build: install: - mkdir -p $(DESTDIR)$(PREFIX)/bin /etc /lib/systemd/system + mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)/etc $(DESTDIR)/lib/systemd/system install -m755 mlmmj-ldap-sync $(DESTDIR)$(PREFIX)/bin/mlmmj-ldap-sync - install -m644 conf.example.toml /etc/mlmmj-ldap-sync.toml - install -m644 mlmmj-ldap-sync.service mlmmj-ldap-sync.timer /lib/systemd/system - install -m644 mlmmj-ldap-sync@.service mlmmj-ldap-sync@.timer /lib/systemd/system + install -m644 conf.example.toml $(DESTDIR)/etc/mlmmj-ldap-sync.toml + install -m644 mlmmj-ldap-sync.service mlmmj-ldap-sync.timer $(DESTDIR)/lib/systemd/system + install -m644 mlmmj-ldap-sync@.service mlmmj-ldap-sync@.timer $(DESTDIR)/lib/systemd/system diff --git a/debian/changelog b/debian/changelog index 9ddde81..3a5cb3d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ mlmmj-ldap-sync (0.6) unstable; urgency=medium * Adapt code for GNU Generation LDAP structure. + * Fix systemd unit files installation. -- Timothée Floure Thu, 31 Oct 2019 17:49:44 +0100