aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-01 13:24:09 +0000
committerRoy Marples <roy@marples.name>2008-02-01 13:24:09 +0000
commit62096f542ff767d41bb237bcf43e972c9690523a (patch)
tree4176920f377d3d712a5b2d28c40e7c44b29445d2
parentf2ce40d90b92f6049745f6f06191bd43b6b931dd (diff)
Use DOCDIR
-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