Commit 4cd075ac authored by Anton Midyukov's avatar Anton Midyukov

reports.mk: convert targets.svgz to pdf, if rsvg-convert is available

parent bc4593ca
......@@ -70,6 +70,11 @@ reports/targets: reports/prep
report-targets < "$(REPORT_PATH)" \
| dot -Tsvgz -o "$$OUT" \
&& $(call report,target graph report); \
if type -t rsvg-convert >&/dev/null; then \
IN="$$OUT"; \
OUT="$(REPORTDIR)/$(@F).pdf"; \
rsvg-convert -f pdf "$$IN" -o "$$OUT"; \
fi; \
else \
OUT="$(BUILDDIR)/targets.dot"; \
report-targets < "$(REPORT_PATH)" > "$$OUT" \
......
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