From: Tsukasa OI <research_trasio@irq.a4lg.com>
To: Tsukasa OI <research_trasio@irq.a4lg.com>,
Nick Clifton <nickc@redhat.com>
Cc: binutils@sourceware.org
Subject: [PATCH] binutils: Remove unused substitution PROGRAM
Date: Wed, 19 Oct 2022 13:09:54 +0000 [thread overview]
Message-ID: <07bfebbf3843b47e13d82d4fa16eb14fec942ef7.1666184962.git.research_trasio@irq.a4lg.com> (raw)
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
next reply other threads:[~2022-10-19 13:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-19 13:09 Tsukasa OI [this message]
2022-10-19 22:44 ` Alan Modra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=07bfebbf3843b47e13d82d4fa16eb14fec942ef7.1666184962.git.research_trasio@irq.a4lg.com \
--to=research_trasio@irq.a4lg.com \
--cc=binutils@sourceware.org \
--cc=nickc@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).