From 61e184cab91a0960acecf9af031654e5b8bf43ea Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 14 Oct 2024 08:00:00 +0000 Subject: maint: use meson to generate release tarballs --- maint/make-dist | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/maint/make-dist b/maint/make-dist index 5457efec..30b3a892 100755 --- a/maint/make-dist +++ b/maint/make-dist @@ -7,8 +7,6 @@ id="$(git rev-parse --verify "${1:-@}^{commit}")" -j=-j`nproc 2> /dev/null` || j= - distdir=Linux-PAM-dist-$$ abs_distdir="`pwd`/$distdir" trap 'chmod -Rf u+w $abs_distdir; rm -rf $abs_distdir' 1 2 15 0 @@ -20,13 +18,7 @@ cd $distdir git config advice.detachedHead false git checkout -f "$id" -./autogen.sh - -DISTCHECK_CONFIGURE_FLAGS='--disable-dependency-tracking --enable-Werror' -export DISTCHECK_CONFIGURE_FLAGS -./configure $DISTCHECK_CONFIGURE_FLAGS - -make -s $j distcheck -make -s $j releasedocs - -mv -f Linux-PAM-*.tar.* .. +mkdir build +meson setup --buildtype=debugoptimized -Dwerror=true build +meson dist -C build +mv -f build/meson-dist/Linux-PAM-*.tar.* .. -- cgit v1.2.3