# Radio DESTDIR = PREFIX = /usr/local .PHONY: help help: @echo "radio : Play online radio" @echo "(C) 2022 Case Duckworth " @echo "Licensed under the Fair License; see COPYING for details." @echo @echo "TARGETS:" @echo " install Install radio to $(DESTDIR)$(PREFIX)/radio." @echo " An example configuration is at $(DESTDIR)$(PREFIX)/share/radio/stations." @echo " uninstall Uninstall radio-related files." .PHONY: install install: radio radio.stations install -D radio $(PREFIX)/bin/radio install -D radio.stations $(PREFIX)/share/radio/stations .PHONY: uninstall uninstall: rm $(PREFIX)/bin/radio rm -r $(PREFIX)/share/radio/