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:
parent
0e4438923e
commit
79d9b31fc9
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=20404
1 changed files with 7 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue