[binutils-gdb] ld: avoid install ldscripts/stamp

Jan Beulich via Binutils-cvs <[email protected]> Fri, 31 Jul 2026 11:54:49 +0000 (GMT)
Newsgroups gmane.comp.gnu.binutils.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Db485a7268a4e=
c59669f735ddbbc41c4025e56dab

commit b485a7268a4ec59669f735ddbbc41c4025e56dab
Author: Zhongteng Gui <[email protected]>
Date:   Fri Jul 31 13:51:52 2026 +0200

    ld: avoid install ldscripts/stamp
   =20
    This patch fixes a mistake from 07f9535fd97025705f17b65f39f6d7d6f0633ad=
d,
    which actually failed to exclude ldscripts/stamp from install.
   =20
    ld/
   =20
            * Makefile.am (install-data-local): Exclude */stamp from instal=
l.
            * Makefile.in: Regenerate.
   =20
    Signed-off-by: Zhongteng Gui <[email protected]>

Diff:
---
 ld/Makefile.am | 2 +-
 ld/Makefile.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ld/Makefile.am b/ld/Makefile.am
index 5fb2926a661..b6244d08c8b 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -797,7 +797,7 @@ install-data-local: install-bfdpluginLTLIBRARIES
 	$(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
 	for f in ldscripts/* ; do \
 	  case $$f in \
-	    stamp) ;; \
+	    */stamp) ;; \
 	    *) $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
 	  esac \
 	done
diff --git a/ld/Makefile.in b/ld/Makefile.in
index b4e5307b0f1..60f0264d046 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -2459,7 +2459,7 @@ install-data-local: install-bfdpluginLTLIBRARIES
 	$(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
 	for f in ldscripts/* ; do \
 	  case $$f in \
-	    stamp) ;; \
+	    */stamp) ;; \
 	    *) $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
 	  esac \
 	done