public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Ensure that libbacktrace/allocfail.sh is not deleted when creating release tarballs.
@ 2023-01-12 13:39 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2023-01-12 13:39 UTC (permalink / raw)
  To: bfd-cvs, gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=edf64cd235f5ecb3725e7cf1ff83bbdb6dd53340

commit edf64cd235f5ecb3725e7cf1ff83bbdb6dd53340
Author: Nick Clifton <nickc@redhat.com>
Date:   Thu Jan 12 13:39:03 2023 +0000

    Ensure that libbacktrace/allocfail.sh is not deleted when creating release tarballs.
    
            * Makefile.am (CLEANFILES): Import patch from upstream to prevent
            allocafail.sh from being removed when running 'make clean'.

Diff:
---
 libbacktrace/ChangeLog   | 5 +++++
 libbacktrace/Makefile.am | 2 +-
 libbacktrace/Makefile.in | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog
index 983f81672fb..14df45e7072 100644
--- a/libbacktrace/ChangeLog
+++ b/libbacktrace/ChangeLog
@@ -1,3 +1,8 @@
+2023-01-12  Nick Clifton  <nickc@redhat.com>
+
+	* Makefile.am (CLEANFILES): Import patch from upstream to prevent
+	allocafail.sh from being removed when running 'make clean'.
+
 2021-11-12  Martin Liska  <mliska@suse.cz>
 
 	PR libbacktrace/103167
diff --git a/libbacktrace/Makefile.am b/libbacktrace/Makefile.am
index bf9d30a382c..e4f34b5fbd7 100644
--- a/libbacktrace/Makefile.am
+++ b/libbacktrace/Makefile.am
@@ -539,7 +539,7 @@ check_PROGRAMS += $(BUILDTESTS)
 TESTS += $(BUILDTESTS)
 
 CLEANFILES = \
-	$(TESTS) *.debug elf_for_test.c edtest2_build.c gen_edtest2_build \
+       $(filter-out allocfail.sh,$(TESTS)) *.debug elf_for_test.c edtest2_build.c gen_edtest2_build \
 	*.dsyms *.fsyms *.keepsyms *.dbg *.mdbg *.mdbg.xz *.strip
 
 clean-local:
diff --git a/libbacktrace/Makefile.in b/libbacktrace/Makefile.in
index 5167ca80ad1..0a61880ba67 100644
--- a/libbacktrace/Makefile.in
+++ b/libbacktrace/Makefile.in
@@ -1130,7 +1130,7 @@ libbacktrace_TEST_CFLAGS = $(EXTRA_FLAGS) $(WARN_FLAGS) -g
 @HAVE_ELF_TRUE@xztest_alloc_LDADD = libbacktrace_alloc.la \
 @HAVE_ELF_TRUE@	$(am__append_28) $(CLOCK_GETTIME_LINK)
 CLEANFILES = \
-	$(TESTS) *.debug elf_for_test.c edtest2_build.c gen_edtest2_build \
+       $(filter-out allocfail.sh,$(TESTS)) *.debug elf_for_test.c edtest2_build.c gen_edtest2_build \
 	*.dsyms *.fsyms *.keepsyms *.dbg *.mdbg *.mdbg.xz *.strip

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-12 13:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-12 13:39 [binutils-gdb] Ensure that libbacktrace/allocfail.sh is not deleted when creating release tarballs Nick Clifton

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).