Merge branch 'makefile'

pull/85/head
aristocratos 2020-05-01 13:57:53 +02:00
commit 7dab5a8386
1 changed files with 15 additions and 0 deletions

15
Makefile Normal file
View File

@ -0,0 +1,15 @@
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)