From ac6f3884ada5e1facb468a261460fb0d7fa55522 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 3 Jan 2025 02:08:38 +0000 Subject: [PATCH] util/nvmutil: Honour the INSTALL variable Don't assume "install" is the correct command. Signed-off-by: Leah Rowe --- util/nvmutil/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/nvmutil/Makefile b/util/nvmutil/Makefile index bd1d70f..b946a19 100644 --- a/util/nvmutil/Makefile +++ b/util/nvmutil/Makefile @@ -6,12 +6,13 @@ CC?=cc CFLAGS?=-Os -Wall -Wextra -Werror -pedantic DESTDIR?= PREFIX?=/usr/local +INSTALL?=install nvm: nvmutil.c $(CC) $(CFLAGS) nvmutil.c -o nvm install: - install nvm $(DESTDIR)$(PREFIX)/bin/nvm + $(INSTALL) nvm $(DESTDIR)$(PREFIX)/bin/nvm uninstall: rm -f $(DESTDIR)$(PREFIX)/nvm