mk: use make silent flag to print HTML doc version
authorLuca Boccassi <luca.boccassi@gmail.com>
Fri, 23 Jun 2017 18:41:46 +0000 (19:41 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 26 Jun 2017 22:06:02 +0000 (00:06 +0200)
Depending on the environment, make might echo the command being ran.
In mk/rte.sdkdoc.mk make is used to print the DPDK version to be
piped to doxygen. This causes the following to be written:

<div id="projectname">DPDK
&#160;<span id="projectnumber">/usr/bin/make-f/build/dpdk-jYjqnr/
 dpdk-16.11.2/mk/rte.sdkconfig.mkshowversion</span>
</div>

Use -s (--silent) to prevent echoing.

Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
mk/rte.sdkdoc.mk

index fb8f915..c0eaa35 100644 (file)
@@ -73,7 +73,7 @@ api-html: $(API_EXAMPLES)
        $(Q)mkdir -p $(RTE_OUTPUT)/doc/html
        $(Q)(cat $(RTE_SDK)/doc/api/doxy-api.conf     && \
            printf 'PROJECT_NUMBER = '                && \
-                             $(MAKE) -rR showversion && \
+                            $(MAKE) -rRs showversion && \
            echo INPUT           += $(API_EXAMPLES)   && \
            echo OUTPUT_DIRECTORY = $(RTE_OUTPUT)/doc && \
            echo HTML_OUTPUT      = html/api          && \