From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 4148D3858C55 for ; Sun, 8 May 2022 19:41:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4148D3858C55 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 1B2EC341508; Sun, 8 May 2022 19:41:56 +0000 (UTC) Date: Sun, 8 May 2022 15:42:25 -0400 From: Mike Frysinger To: Jon Turney Cc: newlib@sourceware.org Subject: Re: [PATCH 1/5] Simplify rules for creating man pages Message-ID: Mail-Followup-To: Jon Turney , newlib@sourceware.org References: <20220502125518.19808-1-jon.turney@dronecode.org.uk> <20220502125518.19808-2-jon.turney@dronecode.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cGfNlVjYE3/NEdxG" Content-Disposition: inline In-Reply-To: <20220502125518.19808-2-jon.turney@dronecode.org.uk> X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 May 2022 19:42:00 -0000 --cGfNlVjYE3/NEdxG Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On 02 May 2022 13:55, Jon Turney wrote: > Simplify rules for creating docbook XML used to create manpages: > Updating the output using move-if-change and then unconditionally > touching the .stamp file doesn't make much sense. it does make sense. i explained the point of the stamp file in the response to your message: https://sourceware.org/pipermail/newlib/2022/019064.html tl;dr: it's a common optimization pattern used in the tree. it avoids recreating all the docbook & man pages when there is no content change. -mike --cGfNlVjYE3/NEdxG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmJ4HSEACgkQQWM7n+g3 9YG56w//TsM5DE5+/owL2qVxw6OkKcDrB9t5YIcdFTvDhtHB8ZjcgmgBT6zJ9Umf PiZ8o1ssUkPXt5bOBsaXOqpbZ0HlroMexzd7cVgwzG9FGUO7hQpNvSVr2WHNFkiO +rfvuIsnZ8HAcUVg6leTuQL4aU7MOk6ETmDXKMr65tOM+PSJar8Oj0ElCKewe+n1 eS/rYGfRc7DthT+Dyi6pn49H+ucgPnumiVA1PXqo1DIeAr4v83OxomkSxMQIxYC8 gdJilpn+70nfU00vZsGTVsUEWuTHir4VRDy1V54hTeyYQhq8DilmyFPeRbTVYuZH veFqA1I6TkMumI1fjllNA5T9y7DfSQDp3+l/pgLJ2q9Dl5RYTLn/MXfDc3COQOeM E2cKpWk1yd0CRr2+VXlr0O/AxPhq+euSCEi2JloSldI5A+I7lkW3IZI/Yu7epeM/ gzOkqgrMdtI4vgJ6dp/4wqDaawV4ZKqfUKyNX5ZdSC5avovpm7yaooiLKviDdtB0 EXjBN4eJnObhrxKeHi27J74nCKuenzLrL8TyCPNGXQObTX5MQCsIIsFZRTySXF4X 4CePyB1iiJ4AR2BkhhucMR4kj0yJVHeoOFCskC7TlTNOCEEIgvgQo8UOCccJKV0p bKU91IAMhOz4i/P04V8ZUVoDu2R1KD7m8wNRzBVe0bJLqFkTR4M= =haAD -----END PGP SIGNATURE----- --cGfNlVjYE3/NEdxG--