From 015b1b0c0f9709384a78853b80a3bb11a1583fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Montan=CC=83ana?= Date: Tue, 28 May 2024 11:43:39 +0200 Subject: [PATCH] Fix diagram size in manual --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index af2411b..3515580 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,8 @@ n_procs = -j 16 docsrcdir = docs/manual mansrcdir = docs/man3 mandestdir = /usr/local/share/man -sed_command = 's/e">LCOV -/e">Back to manual<\/a> LCOV -/g' +sed_command_link = 's/e">LCOV -/e">Back to manual<\/a> LCOV -/g' +sed_command_diagram = 's/Diagram"/Diagram" width="100%" height="100%" /g' define ClearTests @for t in $(test_targets); do \ @@ -160,9 +161,11 @@ doc: ## Generate documentation @cp -rp diagrams $(docsrcdir) @ @if [ "$(shell uname)" = "Darwin" ]; then \ - sed -i "" $(sed_command) $(docsrcdir)/coverage/index.html ; \ + sed -i "" $(sed_command_link) $(docsrcdir)/coverage/index.html ; \ + sed -i "" $(sed_command_diagram) $(docsrcdir)/index.html ; \ else \ - sed -i $(sed_command) $(docsrcdir)/coverage/index.html ; \ + sed -i $(sed_command_link) $(docsrcdir)/coverage/index.html ; \ + sed -i $(sed_command_diagram) $(docsrcdir)/index.html ; \ fi @echo ">>> Done";