Commit 88d0d016 authored by Anton Midyukov's avatar Anton Midyukov

reports.mk: Rewrite reports directory

Previously, when rebuilding, the new reports were copied as a subdirectory.
parent e8fcdaf8
...@@ -28,6 +28,7 @@ endef ...@@ -28,6 +28,7 @@ endef
all: reports/targets reports/scripts reports/cleanlog reports/contents all: reports/targets reports/scripts reports/cleanlog reports/contents
@if [ -n "$(IMAGE_OUTPATH)" ]; then \ @if [ -n "$(IMAGE_OUTPATH)" ]; then \
rm -fr "$(LOGDIR)/$(IMAGE_OUTFILE).reports"; \
cp -a "$(REPORTDIR)" "$(LOGDIR)/$(IMAGE_OUTFILE).reports"; \ cp -a "$(REPORTDIR)" "$(LOGDIR)/$(IMAGE_OUTFILE).reports"; \
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment