From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UBK/LuTmxmHhZgAAgWs5BA (envelope-from ) for ; Sat, 25 Dec 2021 10:39:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wKdFKuTmxmEbYAAAbx9fmQ (envelope-from ) for ; Sat, 25 Dec 2021 09:39:48 +0000 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 86CBDC18 for ; Sat, 25 Dec 2021 10:39:48 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 9C7DD5F71D; Sat, 25 Dec 2021 09:39:43 +0000 (UTC) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) by mail.notmuchmail.org (Postfix) with ESMTPS id 3C3415F719 for ; Sat, 25 Dec 2021 09:39:40 +0000 (UTC) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id C9C8B1B000F7; Sat, 25 Dec 2021 11:39:36 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1640425176; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JUOuLP3GyYEZ39y34K7dULWnYaMhEkEFtSEK/Zl1lGc=; b=snDlzAICy1V3gajK16Ey5wBRW9P0UdI0R3hyjBSkNi5Lv9qShdwMHZlNv8H/wChkOU2Gry t+6VZlb6Uj2baWN0ClPrG6p6ByYAoqaP6sd2S6QDRJtBmNnH6vTD20rVyQUXkJeXa+pK+h JpKTWZTDBfN3nhv02dFsUC11YPbke+M2fBUCjwYRjDKrOH+2v1WLTCjnHvMXo+VnXxsUaF r6w/dpumRovoPS28dUHvLTajpQY67dMH85hVSPLqrLb3UsBKzrLG0L4gJsp9Ei8P4c18f/ bZI3i80Ic80G+cQQwrTfWc9+1Ah9E+5A05meLTRusQe4/Um9TERxbMa4QQ73cQ== From: Tomi Ollila To: David Bremner , Daniel Kahn Gillmor , David Bremner , Notmuch Mail Subject: Re: [PATCH] doc: add dep. on stamp file for rebuilding gzipped man pages. In-Reply-To: <20211224162031.2277841-1-david@tethera.net> References: <87tveotn1g.fsf@fifthhorseman.net> <20211224162031.2277841-1-david@tethera.net> User-Agent: Notmuch/0.33+54~gcaf4513 (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1640425176; a=rsa-sha256; cv=none; b=ZEd90Ngq5OGmms0j/ryYBUTfYWyHqcehMQ9mLd66rTsUdzQQUiA4hyPohVeB3FA9H5LhR+ DA9nZUmH48lr9Fd1r8fMZa58QJ8gVxHvS9ocLeR4+gnaKTWUPsq75gBi1uxKIOi2hJm0dv C5oviPN9u5x179UG0x3NXqjq+0ehhztikUutMeb5KMwRjdKC/22m/JzUWOrFPsDmvU+814 IZ6ugl8pRUBSfwTdsIHXrNNCeeVPDYJIOlm4D4ngm+MauVHd69S0lyDPXq9i8JFt0XAHBX FZrAQ9wG/LFGbnIB/eblDFBdS9+wIw57f3I9RZ/Nt7UZ0t4xkhSAyhpVL8uQGA== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1640425176; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JUOuLP3GyYEZ39y34K7dULWnYaMhEkEFtSEK/Zl1lGc=; b=MoZocCODbJtA/NWLj0ZM8aCxTiOpn0KoNuI3hfVTUHszjCETRXs/fSB6r46LxVuEJLKjbW tzdXPNR3WFMyNN98jIDkAkSgoSr/yEwxMmMyF9f7ZXNX//30A4f2QD8x7TgfJZwKWOOGxT OXWBbZblslCxTnirCoj+sY1DL1JQHV2Y0bKABBglnZyPTaEr9+jDtXACww7UG4+WSBxlD2 wft4pD+qiFKhuWUI8moUD20Vbp7tsmylmTJKF2UDAIHNugPX4lcKjFgZTadMb93XwDjbag 50PKMaJpbn5X9seyscuUE9ndYMgstqnzcx1wNoLC7jnY0Pza+Q9BX995OC8Uiw== Message-ID-Hash: FCZ2QGQNPZPENMG3MBCPFX3ISWBCIU3M X-Message-ID-Hash: FCZ2QGQNPZPENMG3MBCPFX3ISWBCIU3M X-MailFrom: tomi.ollila@iki.fi X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640425188; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=9bfmrykMsk9A3M2qi5DNAW3GAlLvs5vEHOJlwbNIbwI=; b=CLovqDw9wCc8ERubIQcfOy/E1B2zS5XySeXlN4q7YNj2vrZ6WXlHvM1iX27A/MgBAtZmrX qezm5EUPRmINXafRr/9EfxRS9yTwWGhUJcCXXgT6LezkU/rYDqGBgNtPWoR+QMw25R44c/ XGWkvfK6rQX9XDHTb+p7MHFNFhUX7MaKH0EkRI51efouDC7s/VVEZPsq0ntnVNQhp/ERKC iiR9x6OO5Ia95mrmJdT+ktJqBF4ExFGctB75bjqCems8vbzHRjJi/+VW3k8yCWg9KuQUxB e1wsTt1oKC24kGaj1qTx1SOPQ1ampdI4IbZSJpk3ifbZyFU3iOCJxqh8uTDu8w== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1640425188; a=rsa-sha256; cv=fail; b=XeBVt5xmvJUudtLDmPcX21kqm00Y0YGuju+Qcm1KudWu6sm3rdJ5o0kcah0G0LXSDVjZRK Mv+tagV0Ags28N9k276rVc2DstW07uyTER9a1Tnh8R9qhNS6KV6vZkVlWqLKlc6JbWfFkY JNLtLFHy8VIO22fZO+ahHA2AQkuTBfH3jsE9vLAJJAGqjJhC96XhQk7/Y/nML9oWR2895a 2V6EDJhRWIEvjjAHgROpqU/Hr1D06m8eZT5kSYPbcX8ElIA1g2fPc6UOGnOAaEpejjWGvo zGBapoTuGQ6Be5CREl4RPiunj7GaCHTFQBtiqY53PgyAN79i25Ffz/96P8bEqA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=snDlzAIC; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 0.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=snDlzAIC; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 86CBDC18 X-Spam-Score: 0.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: f6MTSlKP7D8B On Fri, Dec 24 2021, David Bremner wrote: > In [1] Daniel observed that the gzipped man pages were only being > rebuild every second time when building with `make -j4'. This may be > caused by a race condition between sphinx-build rebuilding the roff > files and the recipe to gzip them. This commit sequentializes these > two steps by making the stamp file a prerequisite for (all of) the > gzip files. > > [1]: id:87tveotn1g.fsf@fifthhorseman.net > --- > doc/Makefile.local | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/doc/Makefile.local b/doc/Makefile.local > index c2ae1743..d43ef269 100644 > --- a/doc/Makefile.local > +++ b/doc/Makefile.local > @@ -117,6 +117,11 @@ build-man: > install-man: > @echo "No sphinx, will not install man pages." > else > + > +# it should be safe to depend on the stamp file, because it is created > +# after all roff files are moved into place. > +${MAN_GZIP_FILES}: ${DOCBUILDDIR}/.roff.stamp > + This thread becomes hard to follow... ... but the change looks sensible... the comment *should* be more "assuritive" though ... :D > build-man: ${MAN_GZIP_FILES} > install-man: ${MAN_GZIP_FILES} > mkdir -m0755 -p "$(DESTDIR)$(mandir)/man1" > -- > 2.34.1