reports.mk: generate targets.svgz instead targets.png
SVGZ is more than a hundred times smaller than PNG. a
This commit is contained in:
parent
1d8b9f494d
commit
f9ef0e95f7
@ -54,9 +54,9 @@ reports/targets: reports/prep
|
||||
exit 0; \
|
||||
fi; \
|
||||
if type -t dot >&/dev/null; then \
|
||||
OUT="$(REPORTDIR)/$(@F).png"; \
|
||||
OUT="$(REPORTDIR)/$(@F).svgz"; \
|
||||
report-targets < "$(REPORT_PATH)" \
|
||||
| dot -Tpng -o "$$OUT" \
|
||||
| dot -Tsvgz -o "$$OUT" \
|
||||
&& $(call report,target graph report); \
|
||||
else \
|
||||
OUT="$(BUILDDIR)/targets.dot"; \
|
||||
|
Loading…
Reference in New Issue
Block a user