Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anton Palgunov
mkimage-profiles
Commits
6647e899
Commit
6647e899
authored
Apr 23, 2012
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reports.mk: fixed behaviour with no REPORT set
Toplevel Makefile is a bit optimistic regarding calling reports.mk...
parent
6ada32dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
reports.mk
reports.mk
+8
-2
No files found.
reports.mk
View file @
6647e899
# collect what's left
ifneq (,$(REPORT))
BUILDDIR := $(shell sed -n 's/^.* BUILDDIR = \(.*\)/\1/p' "$$REPORT_PATH")
include lib/common.mk
all: reports/targets reports/scripts
reports/prep:
...
...
@@ -19,7 +20,8 @@ reports/scripts: reports/prep
&& echo "** scripts report: $(BUILDDIR)/$@.log" $(SHORTEN)
reports/targets: reports/prep
@if type -t dot >&/dev/null; then \
@if [ ! -s "$$REPORT_PATH" ]; then exit 0; fi; \
if type -t dot >&/dev/null; then \
REPORT_IMAGE="$(BUILDDIR)/$@.png"; \
report-targets < "$$REPORT_PATH" \
| dot -Tpng -o "$$REPORT_IMAGE" \
...
...
@@ -31,3 +33,7 @@ reports/targets: reports/prep
"target graph dot file: $$REPORT_DOT"; \
fi $(SHORTEN); \
mv "$$REPORT_PATH" "$(BUILDDIR)/$@.log"
else
all:; @:
endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment