mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 03:25:25 +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
|
CFLAGS?=-Os -Wall -Wextra -Werror -pedantic
|
||||||
DESTDIR?=
|
DESTDIR?=
|
||||||
PREFIX?=/usr/local
|
PREFIX?=/usr/local
|
||||||
|
INSTALL?=install
|
||||||
|
|
||||||
nvm: nvmutil.c
|
nvm: nvmutil.c
|
||||||
$(CC) $(CFLAGS) nvmutil.c -o nvm
|
$(CC) $(CFLAGS) nvmutil.c -o nvm
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install nvm $(DESTDIR)$(PREFIX)/bin/nvm
|
$(INSTALL) nvm $(DESTDIR)$(PREFIX)/bin/nvm
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(DESTDIR)$(PREFIX)/nvm
|
rm -f $(DESTDIR)$(PREFIX)/nvm
|
||||||
|
|||||||
Reference in New Issue
Block a user