aboutsummaryrefslogtreecommitdiff
path: root/maint
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2024-10-14 08:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2024-10-23 08:00:00 +0000
commit61e184cab91a0960acecf9af031654e5b8bf43ea (patch)
tree676691d59230a62cd53c746b75c6245a298a3e0b /maint
parent641dfd1084508c63f3590e93a35b80ffc50774e5 (diff)
downloadpam-61e184cab91a0960acecf9af031654e5b8bf43ea.tar.gz
pam-61e184cab91a0960acecf9af031654e5b8bf43ea.tar.bz2
pam-61e184cab91a0960acecf9af031654e5b8bf43ea.zip
maint: use meson to generate release tarballs
Diffstat (limited to 'maint')
-rwxr-xr-xmaint/make-dist16
1 files 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.* ..