From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by sourceware.org (Postfix) with ESMTPS id 0234F3858400 for ; Tue, 25 Jan 2022 17:15:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0234F3858400 Received: by mail-pf1-x42f.google.com with SMTP id y27so16256992pfa.0 for ; Tue, 25 Jan 2022 09:15:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Hcua8KO/cxr83mlG59G0252HO3gT8y05REaLwledb5s=; b=7tnX6U8uQvY5smOz3df+MMDUhe9zQagzDElThuuQCOlcGE6ky3Z/uvEB8tjgBx3AwH bNvA+cswnvIVql/cUC1nqaOm0wxxcgxV9+pDB4uJe2g4AZjMB/DpfZWSejKHLEfOCslz YV2EBcnyveZ3/c9MV0HVSzSHTR9uvYXdC9FNKlznMI2i/NACb5AbCXCIm2//599pEj1i PE4Rrqd6I+e/D8Wh9FBs8HsND3XNJqI7vJhfWbbN9Ekj6pAwvPBvwMtdzDS9L93lGl/V Mvex0lM/O3JvcWSjKXpal7wAA+fTZixxuqRsgglopISLg3ZstLYhN4RnyDXK/2/cwy3D AJAQ== X-Gm-Message-State: AOAM531c34ginCa0i45XBnO07R1uPhv4WAwG6h2pfZ4f6BLfSZDsvfzV AJnRMXsNfQNVWHSzX2U/YaJHB7BOhco= X-Google-Smtp-Source: ABdhPJxN0zEFCNlBoIVPTtSurwHc4CC1sOqW4q/GwLBI02tC2ydF/KM/i8xEe25CpMKzU7lq3q/xqg== X-Received: by 2002:a63:8748:: with SMTP id i69mr16445003pge.422.1643130928829; Tue, 25 Jan 2022 09:15:28 -0800 (PST) Received: from gnu-tgl-3.localdomain ([172.58.35.133]) by smtp.gmail.com with ESMTPSA id p21sm6565626pfh.89.2022.01.25.09.15.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jan 2022 09:15:28 -0800 (PST) Received: from gnu-tgl-3.. (localhost [IPv6:::1]) by gnu-tgl-3.localdomain (Postfix) with ESMTP id 763C0C013A; Tue, 25 Jan 2022 09:15:27 -0800 (PST) From: "H.J. Lu" To: binutils@sourceware.org Cc: Tobias Burnus , Nick Clifton Subject: [PATCH] bfd: Make bfd.stamp depend on source bfd.texi Date: Tue, 25 Jan 2022 09:15:27 -0800 Message-Id: <20220125171527.209521-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3028.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2022 17:15:31 -0000 Make bfd.stamp depend on source bfd.texi to avoid regenerating doc/bfd.info for each make run. PR binutils/28807 * Makefile.in: Regenerate. * doc/local.mk (%D%/bfd.stamp): Depend on $(srcdir)/%D%/bfd.texi. --- bfd/Makefile.in | 5 +++-- bfd/doc/local.mk | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bfd/Makefile.in b/bfd/Makefile.in index 5a9b32cd25c..b8e5ea0153f 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -2504,8 +2504,9 @@ doc/%.stamp: $(srcdir)/%.h $(srcdir)/doc/doc.str $(MKDOC) doc/$(am__dirstamp) doc/%.stamp: $(srcdir)/%.c $(srcdir)/doc/doc.str $(MKDOC) doc/$(am__dirstamp) $(AM_V_GEN)$(REGEN_TEXI) -# Avoid the %.stamp generating a builddir/bfd.texi that overrides the srcdir/. -doc/bfd.stamp: doc/$(am__dirstamp) ; $(AM_V_at)touch $@ +# Avoid the %.stamp generating a builddir/bfd.texi that overrides the +# srcdir/ as well as regenerating doc/bfd.info for each make run. +doc/bfd.stamp: $(srcdir)/doc/bfd.texi ; $(AM_V_at)touch $@ # We use bfdt.texi, rather than bfd.texi, to avoid conflicting with # bfd.texi on an 8.3 filesystem. diff --git a/bfd/doc/local.mk b/bfd/doc/local.mk index 9bf4815d8c6..931942f874c 100644 --- a/bfd/doc/local.mk +++ b/bfd/doc/local.mk @@ -118,8 +118,9 @@ REGEN_TEXI = \ %D%/%.stamp: $(srcdir)/%.c $(srcdir)/%D%/doc.str $(MKDOC) %D%/$(am__dirstamp) $(AM_V_GEN)$(REGEN_TEXI) -# Avoid the %.stamp generating a builddir/bfd.texi that overrides the srcdir/. -%D%/bfd.stamp: %D%/$(am__dirstamp) ; $(AM_V_at)touch $@ +# Avoid the %.stamp generating a builddir/bfd.texi that overrides the +# srcdir/ as well as regenerating doc/bfd.info for each make run. +%D%/bfd.stamp: $(srcdir)/%D%/bfd.texi ; $(AM_V_at)touch $@ # We use bfdt.texi, rather than bfd.texi, to avoid conflicting with # bfd.texi on an 8.3 filesystem. -- 2.34.1