summaryrefslogtreecommitdiff
path: root/mk/bulk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-03-06 15:54:54 +0000
committerrillig <rillig@pkgsrc.org>2007-03-06 15:54:54 +0000
commitb1deb83ac9ca922e8518b686487e8c4eda52b37c (patch)
tree15804e6b3a7ce222ab4a15beb9dbc9566394fc6e /mk/bulk
parent06b5a154da4819f6cae4a7efb8538f7d79697c85 (diff)
downloadpkgsrc-b1deb83ac9ca922e8518b686487e8c4eda52b37c.tar.gz
The first few lines of a bulk build log don't need to be printed on the
terminal. The wrapper warnings are included in the build log, no matter if it succeeds or not.
Diffstat (limited to 'mk/bulk')
-rw-r--r--mk/bulk/bsd.bulk-pkg.mk15
1 files changed, 6 insertions, 9 deletions
diff --git a/mk/bulk/bsd.bulk-pkg.mk b/mk/bulk/bsd.bulk-pkg.mk
index 3882ac4a361..3a24af5dc12 100644
--- a/mk/bulk/bsd.bulk-pkg.mk
+++ b/mk/bulk/bsd.bulk-pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.bulk-pkg.mk,v 1.136 2007/03/06 10:56:34 rillig Exp $
+# $NetBSD: bsd.bulk-pkg.mk,v 1.137 2007/03/06 15:54:54 rillig Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
@@ -355,7 +355,7 @@ bulk-package:
${ECHO} "### pkgsrc build log for ${PKGNAME}"; \
${ECHO} "###"; \
${ECHO} ""; \
- } | ${TEE} -a ${_BUILDLOG}
+ } >> ${_BUILDLOG}
${RUN} set +e; \
uptodate=`${RECURSIVE_MAKE} ${MAKEFLAGS} bulk-check-uptodate REF=${PKGFILE}` ; \
if [ $$uptodate = 1 ]; then \
@@ -437,6 +437,10 @@ bulk-package:
fi ;\
${ECHO_MSG} ${MAKE} package '(${PKGNAME})' 2>&1 ; \
${DO} ${RECURSIVE_MAKE} package; \
+ ${ECHO} ""; \
+ ${ECHO} "===> Warnings from the wrapper log (sorted):"; \
+ ${GREP} "^WARNING" ${WRKLOG} | ${SORT} -u | ${TO_HTML}; \
+ ${ECHO} ""; \
) 2>&1 | ${TEE} -a ${_BUILDLOG:Q} ; \
if [ -f ${PKGFILE} ]; then \
case ${KEEP_BUILDLOGS} in \
@@ -457,13 +461,6 @@ bulk-package:
${RM} -f ${_BUILDLOG:Q}; \
if [ -f "${WRKLOG}" ]; then \
${CP} ${WRKLOG:Q} ${_BROKENWRKLOG:Q}; \
- { ${ECHO} "<pre>"; \
- ${ECHO} ""; \
- ${ECHO} "===> Warnings from the wrapper log (sorted):"; \
- ${GREP} "^WARNING" ${WRKLOG} | ${SORT} -u | ${TO_HTML}; \
- ${ECHO} ""; \
- ${ECHO} "</pre>"; \
- } >> ${_BROKENFILE}; \
fi; \
( \
if [ -f ${_BROKENWRKLOG:Q} ]; then \