summaryrefslogtreecommitdiff
path: root/util/nvmutil
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-12 13:58:38 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-12 14:01:24 +0000
commit5ba0b98fbc90334aa87043f7bd6372b08c004031 (patch)
treec2616481a68e964096b516ab43bec3479325ebe2 /util/nvmutil
parent35ba3aef91a1e442b85fa616bb2befe4f295fd4c (diff)
util/nvmutil: correct install usage
one for directory, then copy the binary Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil')
-rw-r--r--util/nvmutil/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/nvmutil/Makefile b/util/nvmutil/Makefile
index b256e3b3..719e1c1e 100644
--- a/util/nvmutil/Makefile
+++ b/util/nvmutil/Makefile
@@ -17,7 +17,8 @@ $(PROG): nvmutil.c
$(CC) $(CFLAGS) $(LDFLAGS) nvmutil.c -o $(PROG)
install: $(PROG)
- $(INSTALL) -d $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
+ $(INSTALL) $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
chmod 755 $(DESTDIR)$(PREFIX)/bin/$(PROG)
uninstall: