From 25b0d0d25ede761860517e70f9fbe7476a4cfc13 Mon Sep 17 00:00:00 2001 From: ge Date: Sun, 20 Oct 2024 22:09:07 +0300 Subject: [PATCH] add install target --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index fb7d3b2..a708492 100644 --- a/Makefile +++ b/Makefile @@ -11,3 +11,7 @@ prod: -d pt_piddir=pt \ -d pt_max_recursion_depth=10 \ -d pt_default_config_file=~/.ptrc + +install: + install -Dm0755 pt $$HOME/.local/bin/pt + install -Dm0644 completion.bash $${XDG_DATA_HOME:-$$HOME/.local/share}/bash-completion/completions/pt