From 7bb8e4df01166e81413464b3a04a2bcd54c17f83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Montan=CC=83ana?= Date: Thu, 23 May 2024 18:59:08 +0000 Subject: [PATCH] Fix back to manual link --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 62a9fd4..af2411b 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,7 @@ 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' define ClearTests @for t in $(test_targets); do \ @@ -157,6 +158,12 @@ doc: ## Generate documentation @echo ">>> Generating documentation..." @cmake --build $(f_release) -t doxygen @cp -rp diagrams $(docsrcdir) + @ + @if [ "$(shell uname)" = "Darwin" ]; then \ + sed -i "" $(sed_command) $(docsrcdir)/coverage/index.html ; \ + else \ + sed -i $(sed_command) $(docsrcdir)/coverage/index.html ; \ + fi @echo ">>> Done"; docdir = ""