summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2013-07-19 16:06:26 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2013-09-17 14:16:11 +0200
commit7c6d81997269402b8f96074b5e8cc83364b23f86 (patch)
tree0d3498e76da04dd723ed9ab0607c3c4f2977f30c
parent3e6a136e0d20f9e38c9c429b4a7d300d220ee0b0 (diff)
downloaddpdk-7c6d81997269402b8f96074b5e8cc83364b23f86.zip
dpdk-7c6d81997269402b8f96074b5e8cc83364b23f86.tar.gz
dpdk-7c6d81997269402b8f96074b5e8cc83364b23f86.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>
-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 bc385b4..9b7f9a8 100644
--- a/mk/rte.sdkdoc.mk
+++ b/mk/rte.sdkdoc.mk
@@ -48,6 +48,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 && \