From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-sender-0.a4lg.com (mail-sender-0.a4lg.com [IPv6:2401:2500:203:30b:4000:6bfe:4757:0]) by sourceware.org (Postfix) with ESMTPS id 0964D3858D39 for ; Wed, 19 Oct 2022 13:10:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0964D3858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=irq.a4lg.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=irq.a4lg.com Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id 7BED8300089; Wed, 19 Oct 2022 13:09:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=irq.a4lg.com; s=2017s01; t=1666184998; bh=jq+XzATt+hlIARn3tz21Nj+t+WvyqLJoqs50/GUaEKs=; h=From:To:Cc:Subject:Date:Message-Id:Mime-Version: Content-Transfer-Encoding; b=WZQrcLFFqv8VYu5Sd3J4P5mG04h+VGMEfUqrD7pzU8l/3iqP49Wr9mTiOXriVscgT O7UO3ginKicuxYcvpM0ujJ57PzSsniYytBt6Te+twG9EEHb0RLhci75KxpWam8ZT/Q I2rg0HUGAHkRMh5hnV4AN1Q9yWbOCErSWuLJO+jo= From: Tsukasa OI To: Tsukasa OI , Nick Clifton Cc: binutils@sourceware.org Subject: [PATCH] binutils: Remove unused substitution PROGRAM Date: Wed, 19 Oct 2022 13:09:54 +0000 Message-Id: <07bfebbf3843b47e13d82d4fa16eb14fec942ef7.1666184962.git.research_trasio@irq.a4lg.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,GIT_PATCH_0,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Unlike other substitution, this substitution of @PROGRAM@ was done in binutils/Makefile and it was intended for binutils/cxxfilt.man. @PROGRAM@ in binutils/cxxfilt.man is removed in the commit 0285c67df190 ("Automate generate on man pages") in 2001 and @PROGRAM@ is ineffective since then. Because PROGRAM substitution does nothing, removing this manual substitution should be completely safe. binutils/ChangeLog: * doc/local.mk: Remove unused substitution PROGRAM. * Makefile.in: Regenerate. --- binutils/Makefile.in | 3 +-- binutils/doc/local.mk | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/binutils/Makefile.in b/binutils/Makefile.in index 6de4e239408..9fb03f34b40 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -2136,8 +2136,7 @@ doc/$(DEMANGLER_NAME).1: doc/cxxfilt.man Makefile doc/$(am__dirstamp) else \ man=$(srcdir)/doc/cxxfilt.man; \ fi; \ - sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' \ - -e 's/cxxfilt/$(DEMANGLER_NAME)/' < $$man \ + sed -e 's/cxxfilt/$(DEMANGLER_NAME)/' < $$man \ > doc/$(DEMANGLER_NAME).1 html-local: doc/binutils/index.html diff --git a/binutils/doc/local.mk b/binutils/doc/local.mk index a3e0a78d6ae..4f632e82cd2 100644 --- a/binutils/doc/local.mk +++ b/binutils/doc/local.mk @@ -169,8 +169,7 @@ MAINTAINERCLEANFILES += $(man_MANS) %D%/binutils.info %D%/cxxfilt.man else \ man=$(srcdir)/%D%/cxxfilt.man; \ fi; \ - sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' \ - -e 's/cxxfilt/$(DEMANGLER_NAME)/' < $$man \ + sed -e 's/cxxfilt/$(DEMANGLER_NAME)/' < $$man \ > %D%/$(DEMANGLER_NAME).1 html-local: %D%/binutils/index.html base-commit: 2b06e59de0675c2cb526af2de6803dae29703d15 -- 2.34.1