From patchwork Fri Jan 17 11:22:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 64833 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F1AC1A051A; Fri, 17 Jan 2020 12:25:33 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9A8EFF90; Fri, 17 Jan 2020 12:25:33 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 13AF22AB for ; Fri, 17 Jan 2020 12:25:30 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jan 2020 03:25:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,330,1574150400"; d="scan'208";a="220706522" Received: from silpixa00399126.ir.intel.com ([10.237.222.218]) by fmsmga008.fm.intel.com with ESMTP; 17 Jan 2020 03:25:29 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Date: Fri, 17 Jan 2020 11:22:34 +0000 Message-Id: <20200117112236.5225-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 0/2] Do proper dependency tracking for doxygen 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" When building doxygen docs as part of the build, there was no tracking being done of the files processed, so that doxygen can be re-run if needed. This patchset adds that tracking support, by generating a gcc-style ".d" file for the custom targets used in the doc/api build. In doing so, we remove the doc directory as a custom target input path directly, which removes a warning from meson. Bruce Richardson (2): doc/api: generate dependency file for examples doc doc/api: track header files to rebuild docs on change doc/api/generate_doxygen.sh | 5 ++++- doc/api/generate_examples.sh | 4 ++++ doc/api/meson.build | 8 ++++---- 3 files changed, 12 insertions(+), 5 deletions(-)