Browse Source

Also use unitdir in Makefile

pull/1/head
Titouan Rigoudy 10 years ago
parent
commit
516e8a322e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Makefile

+ 2
- 2
Makefile View File

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

Loading…
Cancel
Save