From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3BB1B42C10; Fri, 2 Jun 2023 10:30:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C077C40ED8; Fri, 2 Jun 2023 10:30:43 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 0370A406B8; Fri, 2 Jun 2023 10:30:41 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 351M8nLv027573; Fri, 2 Jun 2023 01:30:41 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=Bt1m5MtyyN3IexIRZqtaBTjFI747BZKv7UXEUcJMAQo=; b=SH5pk+GkT0zwJSQ0M43cLntUW5v9FHHQG9hJ3h1L73N8ukRBhotUXsoYyrb6qSREjz2S CqOvCVpD2ECB1KfE93G4LGOKILieBlqduE7XT2lE2f1xFZXJSoxXY1qS686zxzvo81zk ljqDdY5cwNW4GEhg+aS4rIZ7HK/pxQI4sAbLtkWr44LwQWY1RAgT2R7EoDRP/6uK2Nu6 Y0aVERusD+vG7xsVCZVif4hClD4+DQjwHNSCRZT+2w7O+bhGT4+Wv3YiO9MfnzR+rv6H MvnrLVUkwAeSOWSjGzpbub0Y1AkRJ/uA/pfoVDYV7q4PvYfCe+rVu2LkNyGySk8jxUES UQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3qy3uyhu98-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 02 Jun 2023 01:30:40 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Fri, 2 Jun 2023 01:30:39 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Fri, 2 Jun 2023 01:30:39 -0700 Received: from jerin-lab.marvell.com (jerin-lab.marvell.com [10.28.34.14]) by maili.marvell.com (Postfix) with ESMTP id 6ABCA3F7045; Fri, 2 Jun 2023 01:30:37 -0700 (PDT) From: To: CC: , , Jerin Jacob , Subject: [dpdk-dev] [PATCH v1] doc: remove warning with doxygen 1.9.7 Date: Fri, 2 Jun 2023 14:00:32 +0530 Message-ID: <20230602083032.4160601-1-jerinj@marvell.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230531124648.1358005-1-jerinj@marvell.com> References: <20230531124648.1358005-1-jerinj@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: kg3T2zTc9eJpWBX-UcafwqrS4_Z2-HKG X-Proofpoint-ORIG-GUID: kg3T2zTc9eJpWBX-UcafwqrS4_Z2-HKG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-02_06,2023-05-31_03,2023-05-22_02 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Jerin Jacob Since doxygen 1.9.7 version, HTML_TIMESTAMP configuration option changed to TIMESTAMP [2]. Fixed the following warning[1] by providing the correct configuration option based on doxygen version. [1] Warning: Tag 'HTML_TIMESTAMP' at line 115 of file 'doc/api/doxy-api.conf' has become obsolete. [2] https://www.doxygen.nl/manual/config.html#cfg_timestamp Cc: stable@dpdk.org Signed-off-by: Jerin Jacob --- v2: - use run_command() as https://mesonbuild.com/Reference-manual_returned_external_program.html#external_programversion introduced in 0.62 version and DPDK min meson version is 0.53.2 doc/api/doxy-api.conf.in | 2 +- doc/api/meson.build | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/api/doxy-api.conf.in b/doc/api/doxy-api.conf.in index d230a19e1f..60e582d8fc 100644 --- a/doc/api/doxy-api.conf.in +++ b/doc/api/doxy-api.conf.in @@ -111,7 +111,7 @@ GENERATE_DEPRECATEDLIST = YES VERBATIM_HEADERS = NO ALPHABETICAL_INDEX = NO -HTML_TIMESTAMP = NO +@TS_PREFIX@TIMESTAMP = NO HTML_DYNAMIC_SECTIONS = YES HTML_EXTRA_STYLESHEET = @TOPDIR@/doc/api/custom.css SEARCHENGINE = YES diff --git a/doc/api/meson.build b/doc/api/meson.build index 2876a78a7e..4d1161d847 100644 --- a/doc/api/meson.build +++ b/doc/api/meson.build @@ -41,6 +41,13 @@ if get_option('werror') cdata.set('WARN_AS_ERROR', 'YES') endif +doxygen_version = run_command('doxygen', '--version', check: true).stdout().strip() +if doxygen_version.version_compare('>=1.9.7') + cdata.set('TS_PREFIX', '') +else + cdata.set('TS_PREFIX', 'HTML_') +endif + doxy_conf = configure_file(input: 'doxy-api.conf.in', output: 'doxy-api.conf', configuration: cdata) -- 2.40.1