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