blob: 0edb9ddbfcfba85fb2545d69e303344a28da7a86 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
GO_INSTALL_ARGS := -trimpath
.PHONY: install
install:
@go install $(GO_INSTALL_ARGS) ./cmd/mpd-scrobbler
@install -m 0644 systemd/mpd-scrobbler.service $(HOME)/.config/systemd/user/
@echo "reloading systemd"
@systemctl --user daemon-reload
@echo "starting the unit"
@systemctl --user restart mpd-scrobbler
@systemctl --user status mpd-scrobbler
|