From db6fdbe0afecc171f9aba2cb140c9aab0b387afd Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Wed, 16 Nov 2022 21:17:12 +0100 Subject: [PATCH] make install rule to copy to /usr/local/bin --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 0d7d36b..d6f0e7f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,14 @@ +prefix = /usr/local +bindir = $(prefix)/bin + +INSTALL = install + barcat: reformat-podusage ./$< $@ test: prove -f t/regress.t + +install: barcat + $(INSTALL) -d '$(bindir)' + $(INSTALL) $< '$(bindir)' -- 2.30.0