From: Luca Boccassi Date: Thu, 12 Oct 2017 13:15:50 +0000 (+0100) Subject: mk: sort list of examples files in doc X-Git-Tag: spdx-start~1388 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4303c26ea874ad6ab74a291dd2165095c316e0cd;p=dpdk.git mk: sort list of examples files in doc The result of find might not be stable depending on external conditions. Pipe it through LC_ALL=C sort to ensure reproducible results when generating examples.dox. Signed-off-by: Luca Boccassi --- diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk index c0eaa3502e..de31b78cf2 100644 --- a/mk/rte.sdkdoc.mk +++ b/mk/rte.sdkdoc.mk @@ -93,7 +93,7 @@ $(API_EXAMPLES): api-html-clean $(Q)mkdir -p $(@D) @printf '/**\n' > $(API_EXAMPLES) @printf '@page examples DPDK Example Programs\n\n' >> $(API_EXAMPLES) - @find examples -type f -name '*.c' -printf '@example %p\n' >> $(API_EXAMPLES) + @find examples -type f -name '*.c' -printf '@example %p\n' | LC_ALL=C sort >> $(API_EXAMPLES) @printf '*/\n' >> $(API_EXAMPLES) guides-pdf-clean: guides-pdf-img-clean