From efd50ee548b0f8d9d048e822cc54f0f0d3d19185 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 3 Jan 2025 02:08:38 +0000 Subject: 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(-) (limited to 'util') diff --git a/util/nvmutil/Makefile b/util/nvmutil/Makefile index bd1d70fa..b946a193 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 -- cgit v1.2.1