]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Distribute auxprogs scripts and data files
authorMark Wielaard <mark@klomp.org>
Wed, 6 Aug 2025 22:21:42 +0000 (00:21 +0200)
committerMark Wielaard <mark@klomp.org>
Wed, 6 Aug 2025 22:32:04 +0000 (00:32 +0200)
Make sure pybuild.sh, ltp-tester.sh, ltp-apply-patches.sh,
s390-check-opcodes.pl, s390-runone scripts, ltp filters, ltp patches
and pylintrc are added to the dist.

This makes sure users can run the scripts and make ltpchecks not just
from a git checkout, but also from a release or snapshots tar.

Also use the ustar format to package files, the path under
valgrind-x.yy.z/auxprogs/ltp-patches might be larger than 99
chars. automake 1.18 already defaults to the ustar format.

auxprogs/Makefile.am
configure.ac

index 5542111db60d6c684ee5a44527d26f16426b825a..4f9f100c03897e9bf592b327bcbd84ccad307948 100644 (file)
@@ -2,27 +2,43 @@ include $(top_srcdir)/Makefile.all.am
 
 dist_noinst_SCRIPTS = \
        change-copyright-year \
+       pybuild.sh \
        dump_insn_ppc.sh \
        gen-mdg \
        gsl19test \
+       ltp-tester.sh \
+       ltp-apply-patches.sh \
        make_or_upd_vgversion_h \
        nightly-build-summary \
+       s390-check-opcodes.pl \
+       s390-runone \
        update-demangler \
        posixtestsuite-1.5.1-diff-results
 
+LTP_FILTERS = \
+       filters/mmap18 \
+       filters/prctl10 \
+       filters/select03
+
+LTP_PATCHES = \
+       ltp-patches/0001-Make-sure-32-bit-powerpc-syscall-defs-don-t-leak-to-.patch
+
 EXTRA_DIST = \
        docs/valgrind-listener-manpage.xml \
        docs/valgrind-di-server-manpage.xml \
+       pylintrc \
        gsl-1.6.patch \
        gsl-1.6.supp \
        gsl-1.6.out.x86.exp \
-       ltp-tester.sh \
        ltp-excludes.txt \
        ltp-error-patterns.txt \
        posixtestsuite-1.5.1-diff.txt \
        ppcfround.c \
        ppc64shifts.c \
-       primes.c
+       primes.c \
+       ltp-patches/README \
+       $(LTP_FILTERS) \
+       $(LTP_PATCHES)
 
 #----------------------------------------------------------------------------
 # valgrind_listener  (built for the primary target only)
index 6183179db141fbbcc1f2025eb16466b84837dae0..0d5633fc062a7b82737b5c0ef2c844596052a836 100755 (executable)
@@ -35,7 +35,7 @@ AC_SUBST(VG_DATE, v_rel_date)
 
 AC_CONFIG_SRCDIR(coregrind/m_main.c)
 AC_CONFIG_HEADERS([config.h])
-AM_INIT_AUTOMAKE([foreign dist-bzip2 subdir-objects])
+AM_INIT_AUTOMAKE([foreign dist-bzip2 tar-ustar subdir-objects])
 
 AM_MAINTAINER_MODE