summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile index 66e6c52..bea747e 100644 --- a/Makefile +++ b/Makefile
@@ -10,16 +10,16 @@ help:
10 @echo "Licensed under the Fair License; see COPYING for details." 10 @echo "Licensed under the Fair License; see COPYING for details."
11 @echo 11 @echo
12 @echo "TARGETS:" 12 @echo "TARGETS:"
13 @echo " install Install radio to $(DESTDIR)$(PREFIX)/radio." 13 @echo " install Install radio to $(DESTDIR)$(PREFIX)/bin/radio."
14 @echo " An example configuration is at $(DESTDIR)$(PREFIX)/share/radio/stations." 14 @echo " An example configuration is at $(DESTDIR)$(PREFIX)/share/radio/stations."
15 @echo " uninstall Uninstall radio-related files." 15 @echo " uninstall Uninstall radio-related files."
16 16
17.PHONY: install 17.PHONY: install
18install: radio radio.stations 18install: radio radio.stations
19 install -D radio $(PREFIX)/bin/radio 19 install -D radio $(DESTDIR)$(PREFIX)/bin/radio
20 install -D radio.stations $(PREFIX)/share/radio/stations 20 install -D radio.stations $(DESTDIR)$(PREFIX)/share/radio/stations
21 21
22.PHONY: uninstall 22.PHONY: uninstall
23uninstall: 23uninstall:
24 rm $(PREFIX)/bin/radio 24 rm $(DESTDIR)$(PREFIX)/bin/radio
25 rm -r $(PREFIX)/share/radio/ 25 rm -r $(DESTDIR)$(PREFIX)/share/radio/