binutils: Remove unused substitution PROGRAM
authorTsukasa OI <research_trasio@irq.a4lg.com>
Mon, 10 Oct 2022 09:23:16 +0000 (09:23 +0000)
committerTsukasa OI <research_trasio@irq.a4lg.com>
Thu, 20 Oct 2022 00:42:13 +0000 (00:42 +0000)
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
binutils/doc/local.mk

index 6de4e239408b8608609a93812fda13f89be519f9..9fb03f34b400ed9593b64579bb544aca86b292e6 100644 (file)
@@ -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
index a3e0a78d6ae5d69485d394b65ff3be66d5997e4d..4f632e82cd28fd10cd1854a9557e824d24949da7 100644 (file)
@@ -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