-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (19 loc) · 749 Bytes
/
Makefile
File metadata and controls
26 lines (19 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
help:
@echo "install Install keymaps, executables and services"
install: install-keymaps install-executables install-services
install-keymaps:
mkdir -p /etc/rc_keymaps/
cp rc_keymaps/* /etc/rc_keymaps/
install-executables: install_mopidyir install_setup-ir.sh
install_mopidyir: mopidyir
cp mopidyir /usr/local/bin/ && chown root:root /usr/local/bin/mopidyir
install_setup-ir.sh: setup-ir.sh
cp setup-ir.sh /usr/local/bin/ && chown root:root /usr/local/bin/setup-ir.sh
install-services:
cp services/*.service /etc/systemd/system/
cp mopidyir.yaml /etc/
systemctl daemon-reload
systemctl enable setup-ir.service
systemctl enable ir-event-listening.service
systemctl start setup-ir.service
systemctl start ir-event-listening.service