[coreboot-gerrit] New patch to review for coreboot: nvramtool: Makefile: install: use $(INSTALL) instead of mkdir

Denis Carikli (GNUtoo@no-log.org) gerrit at coreboot.org
Wed Nov 11 06:08:16 CET 2015


Denis Carikli (GNUtoo at no-log.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/12405

-gerrit

commit 9318c869fceab4a07fdb292d0f1f1c78241a33d7
Author: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Date:   Wed Nov 11 05:44:10 2015 +0100

    nvramtool: Makefile: install: use $(INSTALL) instead of mkdir
    
    Change-Id: Icee9b37030558d12da74f898c7f78625a5735277
    Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
---
 util/nvramtool/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/util/nvramtool/Makefile b/util/nvramtool/Makefile
index b92adda..09c3ed9 100644
--- a/util/nvramtool/Makefile
+++ b/util/nvramtool/Makefile
@@ -59,9 +59,9 @@ dep:
 	@$(CC) -MM -MG *.c > .dependencies
 
 install: $(PROGRAM)
-	mkdir -p $(DESTDIR)$(PREFIX)/sbin
+	$(INSTALL) -d $(DESTDIR)$(PREFIX)/sbin
+	$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/man/man8
 	$(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/sbin
-	mkdir -p $(DESTDIR)$(PREFIX)/share/man/man8
 	$(INSTALL) -p -m644 cli/$(PROGRAM).8 $(DESTDIR)$(PREFIX)/share/man/man8
 
 .PHONY: all clean distclean dep



More information about the coreboot-gerrit mailing list