menu/examples/Makefile.ytfeed

29 lines
591 B
Makefile

PREFIX ?= /usr/local
# Sorry, there might be a better way to do this but it would take more time
# than typing it out.
.PHONY: install
install:
install -m 755 \
ytfeed \
ytfeed.aggregate \
ytfeed.browse-entry \
ytfeed.browse-feed \
ytfeed.browse-feeds \
ytfeed.dl \
$(PREFIX)/bin
.PHONY: launcher
launcher:
../menu <ytfeed.launcher
.PHONY: uninstall
uninstall:
rm -f $(PREFIX)/bin/ytfeed \
$(PREFIX)/bin/ytfeed.aggregate \
$(PREFIX)/bin/ytfeed.browse-entry \
$(PREFIX)/bin/ytfeed.browse-feed \
$(PREFIX)/bin/ytfeed.browse-feeds \
$(PREFIX)/bin/ytfeed.dl