forked from Mirrors/opensbi
docs: Add OpenSBI version to doxygen.cfg
The PDF document generated by doxygen should have OpenSBI version hence this patch adds OpenSBI version to doxygen.cfg. Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -274,7 +274,7 @@ $(build_dir)/docs/latex/refman.tex: $(build_dir)/docs/doxygen.cfg
|
|||||||
$(CMD_PREFIX)doxygen $(build_dir)/docs/doxygen.cfg
|
$(CMD_PREFIX)doxygen $(build_dir)/docs/doxygen.cfg
|
||||||
$(build_dir)/docs/doxygen.cfg: $(src_dir)/docs/doxygen.cfg
|
$(build_dir)/docs/doxygen.cfg: $(src_dir)/docs/doxygen.cfg
|
||||||
$(CMD_PREFIX)mkdir -p $(build_dir)/docs
|
$(CMD_PREFIX)mkdir -p $(build_dir)/docs
|
||||||
$(CMD_PREFIX)cat docs/doxygen.cfg | sed -e "s#@@SRC_DIR@@#$(src_dir)#" -e "s#@@BUILD_DIR@@#$(build_dir)#" > $(build_dir)/docs/doxygen.cfg
|
$(CMD_PREFIX)cat docs/doxygen.cfg | sed -e "s#@@SRC_DIR@@#$(src_dir)#" -e "s#@@BUILD_DIR@@#$(build_dir)#" -e "s#@@OPENSBI_MAJOR@@#$(MAJOR)#" -e "s#@@OPENSBI_MINOR@@#$(MINOR)#" > $(build_dir)/docs/doxygen.cfg
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
docs: $(build_dir)/docs/latex/refman.pdf
|
docs: $(build_dir)/docs/latex/refman.pdf
|
||||||
|
|
||||||
|
@@ -38,7 +38,7 @@ PROJECT_NAME = "RISC-V OpenSBI"
|
|||||||
# could be handy for archiving the generated documentation or if some version
|
# could be handy for archiving the generated documentation or if some version
|
||||||
# control system is used.
|
# control system is used.
|
||||||
|
|
||||||
PROJECT_NUMBER =
|
PROJECT_NUMBER = "v@@OPENSBI_MAJOR@@.@@OPENSBI_MINOR@@"
|
||||||
|
|
||||||
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
||||||
# for a project that appears at the top of each page and should give viewer a
|
# for a project that appears at the top of each page and should give viewer a
|
||||||
|
Reference in New Issue
Block a user