bashtop/Makefile

15 lines
363 B
Makefile
Raw Normal View History

2020-04-27 20:32:57 +00:00
PREFIX ?= /usr
DOCDIR ?= $(PREFIX)/share/doc/bashtop
all:
@echo Run \'make install\' to install bashtop.
install:
@mkdir -p $(DESTDIR)$(PREFIX)/bin
@cp -p bashtop $(DESTDIR)$(PREFIX)/bin/bashtop
@cp -p README.md $(DESTDIR)$(DOCDIR)
@chmod 755 $(DESTDIR)$(PREFIX)/bin/bashtop
uninstall:
@rm -rf $(DESTDIR)$(PREFIX)/bin/bashtop
@rm -rf $(DESTDIR)$(DOCDIR)