mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-03-15 19:31:32 +00:00
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:
parent
023aa6bb04
commit
ac003ff6bf
2 changed files with 2 additions and 2 deletions
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
|
||||
$(build_dir)/docs/doxygen.cfg: $(src_dir)/docs/doxygen.cfg
|
||||
$(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
|
||||
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
|
||||
# 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
|
||||
# for a project that appears at the top of each page and should give viewer a
|
||||
|
|
Loading…
Add table
Reference in a new issue