Ensure that libbacktrace/allocfail.sh is not deleted when creating release tarballs.
authorNick Clifton <nickc@redhat.com>
Thu, 12 Jan 2023 13:37:59 +0000 (13:37 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 12 Jan 2023 13:37:59 +0000 (13:37 +0000)
* Makefile.am (CLEANFILES): Import patch from upstream to prevent
allocafail.sh from being removed when running 'make clean'.

libbacktrace/ChangeLog
libbacktrace/Makefile.am
libbacktrace/Makefile.in

index 983f816..14df45e 100644 (file)
@@ -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
index bf9d30a..e4f34b5 100644 (file)
@@ -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:
index 5167ca8..0a61880 100644 (file)
@@ -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