summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2007-10-16 23:36:34 +0000
committeruwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2007-10-16 23:36:34 +0000
commit0ada9acf700ea963ea802a22ae5b9e1f4379dba6 (patch)
tree75347af87e6143dbd957c8c81b692a4e58c2698f
parentab03729d1fed878e3819d8eb9acf142b629c3cbc (diff)
downloadflashrom-0ada9acf700ea963ea802a22ae5b9e1f4379dba6.tar.gz
Original v2 revision: 2866
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: https://code.coreboot.org/svn/flashrom/trunk@149 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--Makefile4
-rw-r--r--flashrom.8 (renamed from flashrom.1)2
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 087a7a5..067590a 100644
--- a/Makefile
+++ b/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/flashrom.1 b/flashrom.8
index 62b09fd..6725b37 100644
--- a/flashrom.1
+++ b/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