aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc.BSD/Makefile2
-rw-r--r--doc.Linux/Makefile2
-rw-r--r--mk/sys.mk3
3 files changed, 5 insertions, 2 deletions
diff --git a/doc.BSD/Makefile b/doc.BSD/Makefile
index 029dfa7a..7b2a15bc 100644
--- a/doc.BSD/Makefile
+++ b/doc.BSD/Makefile
@@ -1,4 +1,4 @@
-DIR= /usr/share/doc/openrc
+DIR= ${DOCDIR}/openrc
INC= ${CONTENTS}
MK= ../mk
diff --git a/doc.Linux/Makefile b/doc.Linux/Makefile
index 029dfa7a..7b2a15bc 100644
--- a/doc.Linux/Makefile
+++ b/doc.Linux/Makefile
@@ -1,4 +1,4 @@
-DIR= /usr/share/doc/openrc
+DIR= ${DOCDIR}/openrc
INC= ${CONTENTS}
MK= ../mk
diff --git a/mk/sys.mk b/mk/sys.mk
index 2bf7b9d1..dc70b0a3 100644
--- a/mk/sys.mk
+++ b/mk/sys.mk
@@ -22,4 +22,7 @@ SHLIBDIR?= /${LIBNAME}
MANDIR?= /usr/share/man/man
MANMODE?= 0444
+DOCDIR?= /usr/share/doc
+DOCMODE?= 0644
+
CONFMODE?= 0644