grm

git repo manager for self-hosted git servers
git clone git://sink.krj.st/grm
Log | Files | Refs | README | LICENSE

commit 04afb78369d774390a70d16b556dba308d09125f
parent 622b4fd375638a0820f8e5d7921732b7005b09b0
Author: krasjet <nil@krj.st>
Date:   Thu, 10 Dec 2020 04:34:11 +0000

use explicit config for bin name

Diffstat:
MMakefile | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,14 +1,15 @@ # not a makefile, but rather an install script -# on BSDs, GNU rm is sometimes named grm, so make sure you are -# not overriding it +# On BSDs, GNU rm is sometimes named grm, so +# make sure you are not overriding it +BIN = grm PREFIX = /usr/local install: mkdir -p ${PREFIX}/bin - cp -f grm ${PREFIX}/bin/ + cp -f grm ${PREFIX}/bin/${BIN} uninstall: - rm -f ${PREFIX}/bin/grm + rm -f ${PREFIX}/bin/${BIN} .PHONY: install uninstall