From d71de631d9030153323fab02fe3dfb53613a36eb Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Fri, 19 Jul 2013 16:06:26 +0200 Subject: [PATCH] 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 Acked-by: Vincent Jardin --- mk/rte.sdkdoc.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk index d47a2b5729..175b2643fa 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 && \ -- 2.20.1