summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-10-16 23:36:34 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-10-16 23:36:34 +0000
commit2c5d4c69fa1533c14aa5ce9e4c0b5545bc64f436 (patch)
tree75347af87e6143dbd957c8c81b692a4e58c2698f /Makefile
parent3385cb806930698f61898e2622c3e75057c05c4b (diff)
downloadflashrom-2c5d4c69fa1533c14aa5ce9e4c0b5545bc64f436.tar.gz
flashrom-2c5d4c69fa1533c14aa5ce9e4c0b5545bc64f436.tar.bz2
flashrom-2c5d4c69fa1533c14aa5ce9e4c0b5545bc64f436.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 087a7a5eb..067590ae5 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