Set file mode bits and explicit target dirs when installing
This commit is contained in:
parent
dbfbd6bca0
commit
bc14d1e138
@ -4,13 +4,13 @@ SYSV_DIR=/etc/init.d
|
|||||||
SYSD_DIR=/etc/systemd/system
|
SYSD_DIR=/etc/systemd/system
|
||||||
|
|
||||||
install-sysv: service/mopidy-switcher
|
install-sysv: service/mopidy-switcher
|
||||||
install service/mopidy-switcher $(SYSV_DIR)
|
install -m 755 -t $(SYSV_DIR) service/mopidy-switcher
|
||||||
|
|
||||||
install-sysd: service/mopidy-switcher.service
|
install-sysd: service/mopidy-switcher.service
|
||||||
install service/mopidy-switcher.service $(SYSD_DIR)
|
install -m 644 -t $(SYSD_DIR) service/mopidy-switcher.service
|
||||||
|
|
||||||
install-switcher: mopidy-switcher.py
|
install-switcher: mopidy-switcher.py
|
||||||
install -D mopidy-switcher.py $(BIN_DIR)
|
install -m 755 -t $(BIN_DIR) -D mopidy-switcher.py
|
||||||
|
|
||||||
install: install-sysd install-switcher
|
install: install-sysd install-switcher
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user