svn commit: r51123 - head/share/mk
Wolfram Schneider
wosch at FreeBSD.org
Sun Oct 15 09:09:55 UTC 2017
Author: wosch
Date: Sun Oct 15 09:09:54 2017
New Revision: 51123
URL: https://svnweb.freebsd.org/changeset/doc/51123
Log:
support parallel "po"
$ make p-po
Modified:
head/share/mk/doc.project.mk
Modified: head/share/mk/doc.project.mk
==============================================================================
--- head/share/mk/doc.project.mk Sat Oct 14 13:30:11 2017 (r51122)
+++ head/share/mk/doc.project.mk Sun Oct 15 09:09:54 2017 (r51123)
@@ -115,7 +115,8 @@ DOC_LOCAL_MK= ${DOC_PREFIX}/${LANGCODE}/share/mk/doc.l
# parallel build for target "all" and "clean"
NCPU?= ${.MAKE.JOBS}
-p-all p-clean:
+
+p-all p-clean p-po:
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
More information about the svn-doc-head
mailing list