See patch.

After applying an 'svn mv --force flashrom.1 flashrom.8' is required.


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
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 <[EMAIL PROTECTED]>

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
 

Attachment: signature.asc
Description: Digital signature

-- 
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to