• Michael Shigorin's avatar
    cleanlog, reports.mk: factor the script out · f8ae619b
    Michael Shigorin authored
    Sometimes REPORT=1 just wasn't passed to make, and the build.log
    saved is noisy and harder to compare through diff(1); let's move
    the implementation out of the makefile and into a standalone
    script so it can be reused like this:
    
      BUILDDIR=$(sed -rn "s/^mki-image-scripts: export GLOBAL_BUILDDIR='(.*)'$/\1/p" build/build.log
      bin/cleanlog < build/build.log > build/reports/clean.log
    
    See "export GLOBAL_BUILDDIR=" line in the particular log
    (grabbing that one from stdin is not exactly trivial though).
    f8ae619b
Name
Last commit
Last update
.gear Loading commit data...
bin Loading commit data...
conf.d Loading commit data...
doc Loading commit data...
features.in Loading commit data...
image.in Loading commit data...
lib Loading commit data...
pkg.in Loading commit data...
sub.in Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
QUICKSTART Loading commit data...
README Loading commit data...
main.mk Loading commit data...
reports.mk Loading commit data...