summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorCase Duckworth2022-06-29 12:21:30 -0500
committerCase Duckworth2022-06-29 12:21:30 -0500
commit4bbb849a30403a13c0556b2f29218722c2cf1621 (patch)
tree07a829f8c915dae7c2756ee15064faaac43061d1 /Makefile
downloadradio-4bbb849a30403a13c0556b2f29218722c2cf1621.tar.gz
radio-4bbb849a30403a13c0556b2f29218722c2cf1621.zip
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..66e6c52 --- /dev/null +++ b/Makefile
@@ -0,0 +1,25 @@
1# Radio
2
3DESTDIR =
4PREFIX = /usr/local
5
6.PHONY: help
7help:
8 @echo "radio : Play online radio"
9 @echo "(C) 2022 Case Duckworth <acdw@acdw.net>"
10 @echo "Licensed under the Fair License; see COPYING for details."
11 @echo
12 @echo "TARGETS:"
13 @echo " install Install radio to $(DESTDIR)$(PREFIX)/radio."
14 @echo " An example configuration is at $(DESTDIR)$(PREFIX)/share/radio/stations."
15 @echo " uninstall Uninstall radio-related files."
16
17.PHONY: install
18install: radio radio.stations
19 install -D radio $(PREFIX)/bin/radio
20 install -D radio.stations $(PREFIX)/share/radio/stations
21
22.PHONY: uninstall
23uninstall:
24 rm $(PREFIX)/bin/radio
25 rm -r $(PREFIX)/share/radio/