mk: insert version number in doxygen config
authorThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 19 Jul 2013 14:06:26 +0000 (16:06 +0200)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 10:01:13 +0000 (11:01 +0100)
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>
mk/rte.sdkdoc.mk

index d47a2b5..175b264 100644 (file)
@@ -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               && \