aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc110
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index a6ea0858a5ad..2cfea9e422a7 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -88,10 +88,6 @@ SUBDIR+= tests
.if ${MK_OFED} != "no"
SUBDIR+=contrib/ofed
.endif
-#
-# We must do etc/ last for install/distribute to work.
-#
-SUBDIR+=etc
# Local directories are last, since it is nice to at least get the base
# system rebuilt before you do them.
@@ -115,6 +111,12 @@ SUBDIR+= ${_DIR}
.endfor
.endif
+# We must do etc/ last as it hooks into building the man whatis file
+# by calling 'makedb' in share/man. This is only relevant for
+# install/distribute so they build the whatis file after every manpage is
+# installed.
+SUBDIR+=etc
+
.if defined(NOCLEAN)
NO_CLEAN= ${NOCLEAN}
.endif