clean.mk: skip if REPORT requested either
The problem would manifest itself like this: ..:..:.. cleaning up after build sed: can't read .../build.log: No such file or directory
This commit is contained in:
parent
a2b89e6647
commit
2f357e44d6
@ -51,11 +51,9 @@ distclean: clean
|
||||
|
||||
# builddir existing outside read-only metaprofile is less ephemeral
|
||||
# than BUILDDIR variable is -- usually it's unneeded afterwards
|
||||
# so just zap it unless DEBUG has been requested (moreso for multi
|
||||
# image builds, UI based ones, and readonly metaprofile; or CHECK)
|
||||
postclean: build-image
|
||||
@{ \
|
||||
if [ "0$(DEBUG)" -lt 2 -a -z "$(CHECK)" ] && \
|
||||
if [ "0$(DEBUG)" -lt 2 -a -z "$(CHECK)$(REPORT)" ] && \
|
||||
[ "$(NUM_TARGETS)" -gt 1 \
|
||||
-o -n "$(__frontend)" \
|
||||
-o ! -L "$(SYMLINK)" ]; then \
|
||||
|
Loading…
Reference in New Issue
Block a user