From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wGdQIzP+q2GERAAAgWs5BA (envelope-from ) for ; Sun, 05 Dec 2021 00:48:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OAUNHzP+q2HlSgAA1q6Kng (envelope-from ) for ; Sat, 04 Dec 2021 23:48:03 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (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 30B7061A6 for ; Sun, 5 Dec 2021 00:48:03 +0100 (CET) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 24B6429115; Sat, 4 Dec 2021 18:47:57 -0500 (EST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 4ED5B29110 for ; Sat, 4 Dec 2021 18:47:54 -0500 (EST) Received: by fethera.tethera.net (Postfix, from userid 1001) id 3C74A5FC42; Sat, 4 Dec 2021 18:47:54 -0500 (EST) Received: (nullmailer pid 513582 invoked by uid 1000); Sat, 04 Dec 2021 23:47:53 -0000 From: David Bremner To: David Bremner , Daniel Kahn Gillmor , Notmuch Mail Subject: [PATCH 1/2] doc: replace phony target with variable Date: Sat, 4 Dec 2021 19:47:50 -0400 Message-Id: <20211204234751.513569-1-david@tethera.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211030204855.1581540-1-david@tethera.net> References: <20211030204855.1581540-1-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: N64KIYIZINLO54P7EIQLY67AQLSLA2YO X-Message-ID-Hash: N64KIYIZINLO54P7EIQLY67AQLSLA2YO X-MailFrom: bremner@tethera.net 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: FR ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638661683; 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; bh=fcfPpAGYm4sIOFv5+qa/CS8dQjIQyeSRSLhoPnen9Es=; b=J54OcFGBEsKsErUhJ/Oel9F3IS2mhtZa2hws9N5/ulrXv4/L8lovvU3IGExpNVtzt+8ksO WBN5LVJ8o1vc0bV5CO/QVFmwZ4ZaSMdkgXSnmKmEPFnO6Ig65Oemswc8SsF/O0ov9QlBxH jVSxF7lD/8mOHlRBKRFcuSE8j+NGEuKqRrtPGx9ASx28AH0VnleOe5oG3FsYPXRv7ns93g Mtphfhw8CICaneWrwBO6CLjoeB57sNJyrDUfcagoiUpMU6obm3Xgy5EuEYEHJnwRw0jICI C7iNJfcBd5MffAsOPJXOqn9ZMH1bWRJeM64Kp8ijwT7PIM3Fft5U2mXGDYQ07w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638661683; a=rsa-sha256; cv=none; b=MUJfM1ubh4UquyorQ6k1QyGellLu/cHYct6+4hAWoWhMYraezPMTQFdt4rmY5UQpsGL5uQ /AtkeXUq4tStg2k+OHa+zVHHUITP6exawHZV0F+hY8wzkcl3CVDMbCXiSt5MEDE59QDTph vtS5DddCCZxHmB2rrmWdBD6J4R5Iyc6I21N5NHsdQUVT21ZUhBq7IQ3nj20yhttMzVaTpz yUOaQfpo8x59pypb2MJqJ1fsVbvIq2goPmvo+C+stscfEOwFJzn90jI3Mst8Dd3Jq9dP98 ii7o0pnc5gGDyDRFw4tE6vmMExtNlfu6dgzjwikbFJ2RM8vE0P+KqZNecqXHaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 30B7061A6 X-Spam-Score: -0.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: hfEuaSXkN/TH Depending on a phony target seems like a good way to always trigger a recipe. --- doc/Makefile.local | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/Makefile.local b/doc/Makefile.local index 730ad4fb..1782c784 100644 --- a/doc/Makefile.local +++ b/doc/Makefile.local @@ -35,7 +35,7 @@ endif INFO_INFO_FILES := $(INFO_TEXI_FILES:.texi=.info) -.PHONY: sphinx-html sphinx-texinfo sphinx-info doc-prereqs +.PHONY: sphinx-html sphinx-texinfo sphinx-info .PHONY: install-man build-man apidocs install-apidocs @@ -47,18 +47,20 @@ $(DOCBUILDDIR)/.roff.stamp $(DOCBUILDDIR)/.html.stamp $(DOCBUILDDIR)/.texi.stamp endif ifeq ($(HAVE_PYTHON3_CFFI),1) -doc-prereqs: python-cffi-bindings +DOC_PREREQS=bindings/python-cffi.stamp +else +DOC_PREREQS= endif sphinx-html: $(DOCBUILDDIR)/.html.stamp -$(DOCBUILDDIR)/.html.stamp: $(ALL_RST_FILES) doc-prereqs +$(DOCBUILDDIR)/.html.stamp: $(ALL_RST_FILES) $(DOC_PREREQS) $(SPHINXBUILD) -b html -d $(DOCBUILDDIR)/html_doctrees $(ALLSPHINXOPTS) $(DOCBUILDDIR)/html touch $@ sphinx-texinfo: $(DOCBUILDDIR)/.texi.stamp -$(DOCBUILDDIR)/.texi.stamp: $(ALL_RST_FILES) doc-prereqs +$(DOCBUILDDIR)/.texi.stamp: $(ALL_RST_FILES) $(DOC_PREREQS) $(SPHINXBUILD) -b texinfo -d $(DOCBUILDDIR)/texinfo_doctrees $(ALLSPHINXOPTS) $(DOCBUILDDIR)/texinfo touch $@ -- 2.33.0