On Fri, Oct 12, 2007 at 01:06:53PM +0200, Uwe Hermann wrote:
See patch.
After applying an 'svn mv --force flashrom.1 flashrom.8' is required.
[...]
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'.
Signed-off-by: Uwe Hermann uwe@hermann-uwe.de
Index: flashrom.1
--- flashrom.1 (Revision 2849) +++ flashrom.1 (Arbeitskopie) @@ -1,4 +1,4 @@ -.TH FLASHROM 1 "December 20, 2006" +.TH FLASHROM 8 "December 20, 2006" .SH NAME flashrom - a universal flash programming utility .SH SYNOPSIS Index: Makefile =================================================================== --- Makefile (Revision 2849) +++ Makefile (Arbeitskopie) @@ -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
*ping*
Any objections?
Uwe.