From: Mischa POSLAWSKY Date: Wed, 16 Nov 2022 20:17:12 +0000 (+0100) Subject: make install rule to copy to /usr/local/bin X-Git-Tag: v1.09~10 X-Git-Url: http://git.shiar.nl/barcat.git/commitdiff_plain/db6fdbe0afecc171f9aba2cb140c9aab0b387afd make install rule to copy to /usr/local/bin --- 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)'