Commit f9ef0e95 authored by Anton Midyukov's avatar Anton Midyukov

reports.mk: generate targets.svgz instead targets.png

SVGZ is more than a hundred times smaller than PNG. a
parent 1d8b9f49
......@@ -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"; \
......
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