summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.error.mk
AgeCommit message (Collapse)AuthorFilesLines
2008-02-07Replaced _PKG_SILENT and _PKG_DEBUG with RUN.rillig1-5/+5
2006-10-06Instead of removing error and warning messages, they are collected inrillig1-7/+9
.error-done and .warning-done, so they can be inspected later.
2006-06-14Create DELAYED_{ERROR,WARNING}_MSG macros that can be used to outputjlam1-1/+8
error and warning messages that are picked up by the error-check target. Use them instead of using a bare ${ECHO} for more code clarity. Implemented as suggested by Roland Illig.
2006-06-09Introduce the capability to gather all the warnings and errors thatjlam1-0/+53
are generated for a target and output them all at once at the conclusion of the target's invocation. The implementation is in bsd.pkg.error.mk, which defines a macro target "error-check" that will print out any non-empty warning and error files in ${WARNING_DIR} and ${ERROR_DIR} and exit appropriately if there were errors. Convert some targets that were just long sequences of ${ERROR_MSG} or ${WARNING_MSG} within a single shell statement to use the new delayed error output via error-check. Modify the compiler "fail" wrappers for C++ and Fortran to be less verbose during invocation. Instead collect the warnings and only print them at the end of the completed phase, e.g. after "configure" and/or "build" completes.