diff --git a/Makefile b/Makefile index bc1c9b8..4cb52af 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ SBINDIR=usr/sbin SYSCONFIGDIR=etc -LIBDIR=usr/lib +UNITDIR=usr/lib/systemd/system all: install: install -Dm 755 init-headphone ${DESTDIR}/${SBINDIR}/init-headphone install -Dm 755 init-headphone.modules ${DESTDIR}/${SYSCONFIGDIR}/sysconfig/modules/init-headphone.modules - install -Dm 755 init-headphone.service ${DESTDIR}/${LIBDIR}/systemd/system/init-headphone.service + install -Dm 755 init-headphone.service ${DESTDIR}/${UNITDIR}/init-headphone.service systemctl enable init-headphone