Multiple flashrom fixes
- Install binary in /usr/sbin (not /usr/bin), as it's a root-only tool.
- Rename manpage from flashrom.1 to flashrom.8, as section 8 contains
"System administration commands (usually only for root)".
- Actually install the manpage upon 'make install'.
Corresponding to flashrom svn r149 and coreboot v2 svn r2866.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
diff --git a/Makefile b/Makefile
index 087a7a5..067590a 100644
--- a/Makefile
+++ b/Makefile
@@ -55,7 +55,9 @@
@rm -f .test.c .test
install: $(PROGRAM)
- $(INSTALL) flashrom $(PREFIX)/bin
+ $(INSTALL) flashrom $(PREFIX)/sbin
+ mkdir -p $(PREFIX)/share/man/man8
+ $(INSTALL) $(PROGRAM).8 $(PREFIX)/share/man/man8
.PHONY: all clean distclean dep pciutils