Hi! Attached is a patch for adding MANDIR support to the Makefile of flashrom. This allows for easier installation of man-files in directories other than $PREFIX/share/man.
Grs, Heinz
Index: Makefile =================================================================== --- Makefile (revision 523) +++ Makefile (working copy) @@ -10,6 +10,7 @@ STRIP = strip INSTALL = install PREFIX ?= /usr/local +MANDIR ?= $(PREFIX)/share/man CFLAGS ?= -Os -Wall -Werror OS_ARCH = $(shell uname) @@ -75,9 +76,9 @@ install: $(PROGRAM) mkdir -p $(DESTDIR)$(PREFIX)/sbin - mkdir -p $(DESTDIR)$(PREFIX)/share/man/man8 + mkdir -p $(DESTDIR)$(MANDIR)/man8 $(INSTALL) -m 0755 $(PROGRAM) $(DESTDIR)$(PREFIX)/sbin - $(INSTALL) -m 0644 $(PROGRAM).8 $(DESTDIR)$(PREFIX)/share/man/man8 + $(INSTALL) -m 0644 $(PROGRAM).8 $(DESTDIR)$(MANDIR)/man8 .PHONY: all clean distclean dep pciutils
signature.asc
Description: This is a digitally signed message part.
-- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

