19 lines
308 B
Makefile
19 lines
308 B
Makefile
PREFIX ?= /usr/local
|
|
|
|
install:
|
|
install -Dm755 btw $(PREFIX)/bin/btw
|
|
install -Dm644 btw.1 $(PREFIX)/share/man/man1/btw.1
|
|
|
|
uninstall:
|
|
rm -v $(PREFIX)/bin/btw $(PREFIX)/share/man/man1/btw.1
|
|
|
|
pkgbuild:
|
|
mkdir -p src
|
|
cp btw btw.1 src/
|
|
makepkg -c
|
|
|
|
readme:
|
|
@groff -man -Tascii btw.1 | col -bx
|
|
|
|
.PHONY: readme
|