Commit e1e1d0ac9ce561a47e3e118441c2ffea9ea47859

Stefan Sperling 2019-08-09T00:23:09

fix man page directory setting in Makefile release mode

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Makefile.inc b/Makefile.inc
index 808b2d9..49b0cf0 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -8,7 +8,7 @@ CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable
 PREFIX ?= /usr/local
 BINDIR ?= ${PREFIX}/bin
 LIBEXECDIR ?= ${PREFIX}/libexec
-MANDIR ?= ${PREFIX}/man/man
+MANDIR ?= ${LOCALBASE}/man/man
 .else
 PREFIX ?= ${HOME}
 BINDIR ?= ${HOME}/bin