summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2013-07-19 16:06:26 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-01-15 18:08:43 +0100
commit8e3b3e566e80c0ea9a78abcc6c393ef968745087 (patch)
treeb3fec07e313d47cf7478cedc83ea532ece6363a1 /mk
parentcbac73ddef565295a122ab509c9c0a19ecf04af3 (diff)
downloaddpdk-8e3b3e566e80c0ea9a78abcc6c393ef968745087.zip
dpdk-8e3b3e566e80c0ea9a78abcc6c393ef968745087.tar.gz
dpdk-8e3b3e566e80c0ea9a78abcc6c393ef968745087.tar.xz
mk: insert version number in doxygen config
The parameter PROJECT_NUMBER is used in the HTML header via the template variable $projectnumber. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Vincent Jardin <vincent.jardin@6wind.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/rte.sdkdoc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk
index c90b569..70ef430 100644
--- a/mk/rte.sdkdoc.mk
+++ b/mk/rte.sdkdoc.mk
@@ -47,6 +47,8 @@ htmlapi: htmlapi-clean
@echo 'doxygen for API...'
$(Q)mkdir -p $(RTE_OUTPUT)/doc/html
$(Q)(cat $(RTE_SDK)/doc/doxy-api.conf && \
+ printf 'PROJECT_NUMBER = ' && \
+ $(MAKE) -rR showversion && \
echo OUTPUT_DIRECTORY = $(RTE_OUTPUT)/doc && \
echo HTML_OUTPUT = html/api && \
echo GENERATE_HTML = YES && \