From f6f50ae1c74590376a744b1304cfefbe6bc58c6c Mon Sep 17 00:00:00 2001 From: Jehan Date: Tue, 2 Aug 2022 16:53:15 +0200 Subject: [PATCH] meson: remove autotools-related data from the meson tarball. --- meson_dist_script.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meson_dist_script.sh b/meson_dist_script.sh index 63b389323e..7ffa943795 100755 --- a/meson_dist_script.sh +++ b/meson_dist_script.sh @@ -33,3 +33,9 @@ cp -f 'INSTALL' "${MESON_DIST_ROOT}" rm -f "${MESON_DIST_ROOT}/INSTALL.in" cp "$GIT_VERSION_H" "${MESON_DIST_ROOT}" + +# Removing autotools data. Let's make so that people who build from this +# tarball only see the meson build system and don't get confused. +rm -f "${MESON_DIST_ROOT}/autogen.sh" +rm -f "${MESON_DIST_ROOT}/configure.ac" +rm -f $(find ${MESON_DIST_ROOT} -name 'Makefile*')