diff options
| author | Nakidai <nakidai@disroot.org> | 2025-04-17 22:07:39 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2025-04-17 22:07:39 +0300 |
| commit | f26e500b97d18313ef68d92337d4d612099ef9ea (patch) | |
| tree | 77ec72c434b29f356220a5cc8f22b46a72918145 /Makefile | |
| download | ttb-aa8c5d6d59dbea49a0536a080d2a2a3e97a13f1d.tar.gz ttb-aa8c5d6d59dbea49a0536a080d2a2a3e97a13f1d.zip | |
Add files v1.0.0
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a4185d1 --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +RM ?= rm -f +PREFIX ?= /usr/local/ +BINDIR ?= ${PREFIX}/bin +MANDIR ?= ${PREFIX}/man + + +.PHONY: all +all: ttb + +install: all + install -d ${BINDIR} ${MANDIR}/man1 + install -m755 ttb ${BINDIR} + install -m644 ttb.1 ${MANDIR}/man1 + +uninstall: + ${RM} ${BINDIR}/ttb + ${RM} ${MANDIR}/man1/ttb.1 + +.PHONY: clean +clean: + ${RM} ttb + +README: ttb.1 + mandoc -Ios=ttb -Tascii ttb.1 | col -b > README |