Fix back to manual link

This commit is contained in:
Ricardo Montañana Gómez 2024-05-23 18:59:08 +00:00
parent 53710378de
commit 7bb8e4df01
Signed by: rmontanana
GPG Key ID: 46064262FD9A7ADE

View File

@ -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"><a href="https:\/\/rmontanana.github.io\/bayesnet">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 = ""