diff options
author | Case Duckworth | 2022-06-29 12:21:30 -0500 |
---|---|---|
committer | Case Duckworth | 2022-06-29 12:21:30 -0500 |
commit | 4bbb849a30403a13c0556b2f29218722c2cf1621 (patch) | |
tree | 07a829f8c915dae7c2756ee15064faaac43061d1 /Makefile | |
download | radio-4bbb849a30403a13c0556b2f29218722c2cf1621.tar.gz radio-4bbb849a30403a13c0556b2f29218722c2cf1621.zip |
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 25 |
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 | |||
3 | DESTDIR = | ||
4 | PREFIX = /usr/local | ||
5 | |||
6 | .PHONY: help | ||
7 | help: | ||
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 | ||
18 | install: radio radio.stations | ||
19 | install -D radio $(PREFIX)/bin/radio | ||
20 | install -D radio.stations $(PREFIX)/share/radio/stations | ||
21 | |||
22 | .PHONY: uninstall | ||
23 | uninstall: | ||
24 | rm $(PREFIX)/bin/radio | ||
25 | rm -r $(PREFIX)/share/radio/ | ||