Author: uwe Date: 2009-05-21 17:59:58 +0200 (Thu, 21 May 2009) New Revision: 541
Modified: trunk/Makefile Log: Make an extra MANDIR variable for easier overriding (trivial).
Thanks Heinz Wiesinger HMWiesinger@liwjatan.at for the report.
Signed-off-by: Uwe Hermann uwe@hermann-uwe.de Acked-by: Uwe Hermann uwe@hermann-uwe.de
Modified: trunk/Makefile =================================================================== --- trunk/Makefile 2009-05-21 15:55:46 UTC (rev 540) +++ trunk/Makefile 2009-05-21 15:59:58 UTC (rev 541) @@ -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