From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by dpdk.org (Postfix) with ESMTP id 767511B1CE for ; Mon, 9 Oct 2017 15:21:37 +0200 (CEST) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 1AD37AABA for ; Mon, 9 Oct 2017 13:21:37 +0000 (UTC) From: "Bernhard M. Wiedemann" To: dev@dpdk.org Cc: "Bernhard M. Wiedemann" Date: Mon, 9 Oct 2017 15:20:58 +0200 Message-Id: <20171009132058.8915-1-bwiedemann@suse.de> X-Mailer: git-send-email 2.13.6 Subject: [dpdk-dev] [PATCH] Sort list of entries in examples.dox X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 13:21:37 -0000 so that dpdk builds in a reproducible way in spite of indeterministic filesystem readdir order using LC_ALL=C for sorting to be independent of locales --- mk/rte.sdkdoc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk index c0eaa3502..8f2f58e73 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' | LC_ALL=C sort | xargs -l echo "@example" >> $(API_EXAMPLES) @printf '*/\n' >> $(API_EXAMPLES) guides-pdf-clean: guides-pdf-img-clean -- 2.13.6