From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by dpdk.org (Postfix) with ESMTP id C9FAC9121 for ; Fri, 18 Aug 2017 13:03:42 +0200 (CEST) Received: by mail-wr0-f195.google.com with SMTP id z91so9913443wrc.4 for ; Fri, 18 Aug 2017 04:03:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fZvKEHvemV0u3/tZEfxUVUz/lvSgCABCF3F/uCtH2A8=; b=T+JAy+OdffHqekI3QzEiSqtYHlb4M68xNu6BfLdBv02TU0iDuz6iSJYdUiV4jn76ac IBfteH6NBScFjf7/L+fHaAUivc8Xb3V5P/TTd8ozj5uRDIqyGJAZ/BjOCVtjcaHKd2gg D/t4cuw14qo2gRwk70htE5nxf5ZPll2OJyzpwOSvY2XmXgi67X/5Iaac8Z3q7lRzUBAl fayvQo0a1c99m/IRyk7OWR8bGPALl57mpVY0AisvxXFLn29Ak3GhyQsJXICT9jvu2toT fG2kDAvblfPCBj5Qh2uwS75Y3jsOo6etpehRZzg77v983qZBx/bo2RYfBFFgJJQEDSid g99Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fZvKEHvemV0u3/tZEfxUVUz/lvSgCABCF3F/uCtH2A8=; b=sSvFC7TBBrQXXvfvD8C5nZ4bIwRYAzKDQR3yoEbcFH6wYTRPwmD36oAiXrSJYM+6nA Wgf1EyL3PlUvRWqGwwL9K3rQrKkDOmmebhRNHVT0VsrrOit4QD8RMC9F/iQVDTBLfUF6 77p6AWiLjI8DgLyxvXOMHjA1K771ghOfVLQTzjN+h+7Px+egt88ktcmh/B4BUzjjbPMb 51DhHxjvwAZAbzdiWmpO9/d0MdCJt1Z3zy4s2IyaKv8g/2lhbN4TZ48nuS2cSEJcyz6P pmK5CtdqHAQuvQbnxy1jm4UwV1LSKAzgwjcD6NaIdtDsqa8Byq/Mw5OS+MCcLh0cpWhQ 5VLA== X-Gm-Message-State: AHYfb5gapuOwZ0Y1OamwLviP3T7LQg56U7FrxwP4R+6jZBOx1Ewd0MQW e0NBHFi0CUaNh0BH0BI= X-Received: by 10.223.161.13 with SMTP id o13mr4999776wro.192.1503054222317; Fri, 18 Aug 2017 04:03:42 -0700 (PDT) Received: from localhost ([2a00:23c5:bef3:400:4a51:b7ff:fe0b:4749]) by smtp.gmail.com with ESMTPSA id o20sm4406316wro.45.2017.08.18.04.03.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 Aug 2017 04:03:41 -0700 (PDT) From: luca.boccassi@gmail.com To: dev@dpdk.org Cc: Luca Boccassi Date: Fri, 18 Aug 2017 12:03:24 +0100 Message-Id: <20170818110328.7370-3-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170818110328.7370-1-luca.boccassi@gmail.com> References: <20170810182325.14058-1-luca.boccassi@gmail.com> <20170818110328.7370-1-luca.boccassi@gmail.com> Subject: [dpdk-dev] [PATCH v6 2/6] mk: sort list of files 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: Fri, 18 Aug 2017 11:03:43 -0000 From: Luca Boccassi 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 --- 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..de31b78cf 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 -- 2.11.0