mirror of https://github.com/digint/btrbk
Makefile: respect BINDIR in systemd service
parent
cb0851c8b6
commit
df7473f7df
1
Makefile
1
Makefile
|
@ -22,6 +22,7 @@ install-systemd:
|
||||||
@echo 'installing systemd service units...'
|
@echo 'installing systemd service units...'
|
||||||
install -Dm644 contrib/systemd/btrbk.service "$(DESTDIR)$(SYSTEMDDIR)/btrbk.service"
|
install -Dm644 contrib/systemd/btrbk.service "$(DESTDIR)$(SYSTEMDDIR)/btrbk.service"
|
||||||
install -Dm644 contrib/systemd/btrbk.timer "$(DESTDIR)$(SYSTEMDDIR)/btrbk.timer"
|
install -Dm644 contrib/systemd/btrbk.timer "$(DESTDIR)$(SYSTEMDDIR)/btrbk.timer"
|
||||||
|
sed -i -e "s#/usr/sbin/btrbk#$(BINDIR)/btrbk#g" "$(DESTDIR)$(SYSTEMDDIR)/btrbk.service"
|
||||||
|
|
||||||
install-share:
|
install-share:
|
||||||
@echo 'installing auxiliary scripts...'
|
@echo 'installing auxiliary scripts...'
|
||||||
|
|
Loading…
Reference in New Issue