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.
This commit is contained in:
Alexey Zelkin 2004-03-23 23:53:27 +00:00
parent 0e4438923e
commit 79d9b31fc9
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=20404

View file

@ -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.