Respect MANPREFIX
authorRoy Marples <roy@marples.name>
Fri, 16 Nov 2007 10:36:49 +0000 (10:36 +0000)
committerRoy Marples <roy@marples.name>
Fri, 16 Nov 2007 10:36:49 +0000 (10:36 +0000)
Makefile

index d1a7c58f507e6c11887c892e107a1d2afedb341f..0c904299aa49c64774626da2b7d61bb8d9adff7e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,12 @@
 VERSION = 1.0
 DESTDIR =
 PREFIX =
+MANPREFIX ?= /usr/share
 ROOT = $(DESTDIR)$(PREFIX)
 INSTALL = install 
 ETCDIR = $(ROOT)/etc/resolvconf
 SHAREDIR = $(ROOT)/usr/share/man
-MANDIR = $(SHAREDIR)/man8
+MANDIR = $(MANPREFIX)/man8
 BINDIR = $(ROOT)/sbin
 VARDIR = $(DESTDIR)/var/run
 UPDATEDIR = $(ETCDIR)/update.d