aboutsummaryrefslogtreecommitdiff
path: root/share/mk/doc.docbook.mk
diff options
context:
space:
mode:
authorAlexey Zelkin <phantom@FreeBSD.org>2004-03-23 23:53:27 +0000
committerAlexey Zelkin <phantom@FreeBSD.org>2004-03-23 23:53:27 +0000
commit79d9b31fc9c0bdbc7465e71bcf5b534431c8294e (patch)
treed11a39c426f65925bbe8a8f078209d33a0669a5f /share/mk/doc.docbook.mk
parent0e4438923ef91f56ad34d4f3a0983a5908dcf1ce (diff)
downloaddoc-79d9b31fc9c0bdbc7465e71bcf5b534431c8294e.tar.gz
doc-79d9b31fc9c0bdbc7465e71bcf5b534431c8294e.zip
Unconditionally set 'NO_SUBDIR' define.
doc.docbook.mk includes bsd.subdir.mk via bsd.obj.mk which is responsible for processing of 'SUBDIR' make variable. But since we are handling 'SUBDIR' here explicitly, doing same thing (second time!) via bsd.subdir.mk's rules makes no sense and only adds disk IO overhead. It reduces install recursive calls by factor 4.
Notes
Notes: svn path=/head/; revision=20404
Diffstat (limited to 'share/mk/doc.docbook.mk')
-rw-r--r--share/mk/doc.docbook.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/mk/doc.docbook.mk b/share/mk/doc.docbook.mk
index 8bb956420c..f66b428523 100644
--- a/share/mk/doc.docbook.mk
+++ b/share/mk/doc.docbook.mk
@@ -255,6 +255,13 @@ BZIP2_CMD?= bzip2 -qf ${BZIP2}
ZIP?= -9
ZIP_CMD?= ${PREFIX}/bin/zip -j ${ZIP}
+#
+# Instruction for bsd.subdir.mk to not to process SUBDIR directive.
+# It is not neccessary since doc.docbook.mk do it too.
+#
+NO_SUBDIR= YES
+
+
# ------------------------------------------------------------------------
#
# Look at ${FORMATS} and work out which documents need to be generated.