diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2009-05-21 15:59:58 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2009-05-21 15:59:58 +0000 |
commit | b42c014eb57ed26d18873ab8150fb2a446ee66ec (patch) | |
tree | 0e6349717a7dc6981efbc646db1be34e1a8c2c09 | |
parent | 4be5948e8d7461ab3d3d76d0398978bab08f7172 (diff) | |
download | flashrom-b42c014eb57ed26d18873ab8150fb2a446ee66ec.zip flashrom-b42c014eb57ed26d18873ab8150fb2a446ee66ec.tar.gz |
Make an extra MANDIR variable for easier overriding
Thanks Heinz Wiesinger <HMWiesinger@liwjatan.at> for the report.
Corresponding to flashrom svn r541.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -10,6 +10,7 @@ CC ?= gcc STRIP = strip INSTALL = install PREFIX ?= /usr/local +MANDIR ?= $(PREFIX)/share/man CFLAGS ?= -Os -Wall -Werror OS_ARCH = $(shell uname) @@ -75,9 +76,9 @@ pciutils: 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 |