Fix back to manual link
This commit is contained in:
parent
53710378de
commit
7bb8e4df01
7
Makefile
7
Makefile
@ -16,6 +16,7 @@ n_procs = -j 16
|
|||||||
docsrcdir = docs/manual
|
docsrcdir = docs/manual
|
||||||
mansrcdir = docs/man3
|
mansrcdir = docs/man3
|
||||||
mandestdir = /usr/local/share/man
|
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
|
define ClearTests
|
||||||
@for t in $(test_targets); do \
|
@for t in $(test_targets); do \
|
||||||
@ -157,6 +158,12 @@ doc: ## Generate documentation
|
|||||||
@echo ">>> Generating documentation..."
|
@echo ">>> Generating documentation..."
|
||||||
@cmake --build $(f_release) -t doxygen
|
@cmake --build $(f_release) -t doxygen
|
||||||
@cp -rp diagrams $(docsrcdir)
|
@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";
|
@echo ">>> Done";
|
||||||
|
|
||||||
docdir = ""
|
docdir = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user