Fix $DESTDIR usage in Makefile

This commit is contained in:
Timothée Floure 2019-10-31 18:35:55 +01:00
parent e171445764
commit 00e18d3d43
2 changed files with 5 additions and 4 deletions

View file

@ -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

1
debian/changelog vendored
View file

@ -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 <timothee.floure@epfl.ch> Thu, 31 Oct 2019 17:49:44 +0100