diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2007-10-16 23:36:34 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2007-10-16 23:36:34 +0000 |
commit | f8dabccdbfd2c4dc6bdb164edf459ada0b5a084a (patch) | |
tree | d13fc210486ea057ba2c219d406f06bd86678b63 /util | |
parent | 398b605ddb111038f6f92b0e51a5def9338ff993 (diff) |
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>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2866 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rw-r--r-- | util/flashrom/Makefile | 4 | ||||
-rw-r--r-- | util/flashrom/flashrom.8 (renamed from util/flashrom/flashrom.1) | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/util/flashrom/Makefile b/util/flashrom/Makefile index 087a7a5eb6..067590ae55 100644 --- a/util/flashrom/Makefile +++ b/util/flashrom/Makefile @@ -55,7 +55,9 @@ pciutils: @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 diff --git a/util/flashrom/flashrom.1 b/util/flashrom/flashrom.8 index 62b09fd000..6725b373ce 100644 --- a/util/flashrom/flashrom.1 +++ b/util/flashrom/flashrom.8 @@ -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 |