1 Description: mk: sort list of files in examples.dox
3 The result of find might not be stable depending on external
5 Pipe it through LC_ALL=C sort to ensure reproducible results when
6 generating examples.dox.
8 Origin: http://dpdk.org/dev/patchwork/patch/27508/
10 Author: Luca Boccassi <luca.boccassi@gmail.com>
11 Last-Update: 2017-08-10
13 mk/rte.sdkdoc.mk | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
16 diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk
17 index c0eaa3502..de31b78cf 100644
18 --- a/mk/rte.sdkdoc.mk
19 +++ b/mk/rte.sdkdoc.mk
20 @@ -93,7 +93,7 @@ $(API_EXAMPLES): api-html-clean
22 @printf '/**\n' > $(API_EXAMPLES)
23 @printf '@page examples DPDK Example Programs\n\n' >> $(API_EXAMPLES)
24 - @find examples -type f -name '*.c' -printf '@example %p\n' >> $(API_EXAMPLES)
25 + @find examples -type f -name '*.c' -printf '@example %p\n' | LC_ALL=C sort >> $(API_EXAMPLES)
26 @printf '*/\n' >> $(API_EXAMPLES)
28 guides-pdf-clean: guides-pdf-img-clean