Small makefile fix
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 23 Jan 2009 23:03:08 +0000 (15:03 -0800)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 23 Jan 2009 23:03:08 +0000 (15:03 -0800)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Makefile

index 35cb590..a07fbcf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,10 @@
 REG_BIN?=/usr/lib/crda/regulatory.bin
 REG_GIT?=git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-regdb.git
 
-SBINDIR ?= /sbin
-MANDIR ?= /usr/share/man/
+PREFIX ?= /usr/
+MANDIR ?= $(PREFIX)/share/man/
+
+SBINDIR ?= /sbin/
 
 # Use a custom CRDA_UDEV_LEVEL when callling make install to
 # change your desired level for the udev regulatory.rules