mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
util/nvmutil: Honour the INSTALL variable
Don't assume "install" is the correct command. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user