Added a makefile

pull/52/head
TimKlampe 2020-04-27 22:32:57 +02:00
parent 30aeef8f65
commit 37a3deb537
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)