From e9e456a243b57ac293af95ee6ab5f2435e5b6f3b Mon Sep 17 00:00:00 2001 From: Tristan Riehs Date: Thu, 28 Sep 2023 08:08:50 +0200 Subject: install and uninstall rules --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fa63f68..1f59519 100644 --- a/Makefile +++ b/Makefile @@ -28,3 +28,10 @@ man: $(MAN_PAGE) clean: rm -f $(BIN) $(OBJ) $(MAN_PAGE) + +install: compile man + cp -f $(BIN) $(PREFIX)/bin + cp -f $(MAN_PAGE) $(PREFIX)/share/man/man1 + +uninstall: + rm -f $(PREFIX)/bin/$(BIN) $(PREFIX)/share/man/man1/$(MAN_PAGE) -- cgit v1.2.3