17 lines
395 B
Makefile
17 lines
395 B
Makefile
|
PREFIX ?= /usr/local
|
||
|
DOCDIR ?= $(PREFIX)/share/doc/furtop
|
||
|
|
||
|
all:
|
||
|
@echo Run \'make install\' to install furtop.
|
||
|
|
||
|
install:
|
||
|
@mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||
|
@cp -p furtop $(DESTDIR)$(PREFIX)/bin/furtop
|
||
|
@mkdir -p $(DESTDIR)$(DOCDIR)
|
||
|
@cp -p README.md $(DESTDIR)$(DOCDIR)
|
||
|
@chmod 755 $(DESTDIR)$(PREFIX)/bin/furtop
|
||
|
|
||
|
uninstall:
|
||
|
@rm -rf $(DESTDIR)$(PREFIX)/bin/furtop
|
||
|
@rm -rf $(DESTDIR)$(DOCDIR)
|