Ensure that libbacktrace/allocfail.sh is not deleted when creating release tarballs.
authorNick Clifton <nickc@redhat.com>
Thu, 12 Jan 2023 13:39:03 +0000 (13:39 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 12 Jan 2023 13:39:03 +0000 (13:39 +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 983f81672fb1d1c7e9fd93b5dca273acc57dae2a..14df45e70723ff577b7b219ffa47d3deebfeb9c7 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 bf9d30a382c92c261abd4ce390d1259e451ee84f..e4f34b5fbd77a7aac0d73a18249aa1b2355203e9 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 5167ca80ad1c954a47b8de820bbc05ace94e28d4..0a61880ba674c49628ba6031d256cd345481e969 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