From 516e8a322efea6f18a020ca620da3e849c6d71b7 Mon Sep 17 00:00:00 2001 From: Titouan Rigoudy Date: Sun, 12 Apr 2015 17:21:47 -0400 Subject: [PATCH] Also use unitdir in Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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