'make obj' doesn't really work for the docs, disable it by default
PR: 222488
This commit is contained in:
parent
e1ff763ab1
commit
9647f5d77d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51065
2 changed files with 7 additions and 1 deletions
|
@ -57,6 +57,9 @@
|
|||
# Currently the only method.
|
||||
#
|
||||
|
||||
# 'make obj' doesn't really work for the docs, disable it
|
||||
NO_OBJ?= YES
|
||||
|
||||
# Document-specific defaults
|
||||
DOCFORMAT?= docbook
|
||||
MAINTAINER?= doc@FreeBSD.org
|
||||
|
@ -107,7 +110,7 @@ DOC_LOCAL_MK= ${DOC_PREFIX}/${LANGCODE}/share/mk/doc.local.mk
|
|||
|
||||
# parallel build for target "all" and "clean"
|
||||
NCPU?= ${.MAKE.JOBS}
|
||||
p-all p-clean p-obj:
|
||||
p-all p-clean:
|
||||
make -V SUBDIR | sed -E 's/[ ]+$$//' | tr " " "\n" | \
|
||||
sed -E 's/^/make -C /; s/$$/ ${.TARGET:S/^p-//}/' | \
|
||||
tr '\n' '\0' | xargs -0 -n1 -P${NCPU:S/^$$/8/} /bin/sh -c
|
||||
|
|
|
@ -325,6 +325,9 @@ _PROGSUBDIR: .USE
|
|||
.endfor
|
||||
.endif
|
||||
|
||||
# 'make obj' doesn't really work for the docs, disable it
|
||||
NO_OBJ?= YES
|
||||
|
||||
.include <bsd.obj.mk>
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue