tmenu

Terminal menu for selecting items from stdin
git clone https://git.sinitax.com/sinitax/tmenu
Log | Files | Refs | README | LICENSE | sfeed.txt

commit e3dd4812e3c7b5e8c2fc2ddffe7aab7de0c99a6c
parent 17a84983f34e470ef4bd3c8a2f8d5c492cfdd646
Author: Louis Burda <quent.burda@gmail.com>
Date:   Wed, 11 Jan 2023 19:53:57 +0100

Add install and uninstall targets

Diffstat:
MMakefile | 11++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -1,5 +1,8 @@ CFLAGS = -g -Wunused-variable +PREFIX ?= /usr +BINDIR ?= /bin + all: tmenu clean: @@ -7,4 +10,10 @@ clean: tmenu: tmenu.c -.PHONY: all clean +install: tmenu + install -m755 tmenu -t "$(DESTDIR)$(PREFIX)$(BINDIR)" + +uninstall: + rm -f "$(DESTDIR)$(PREFIX)$(BINDIR)/tmenu" + +.PHONY: all clean install uninstall