From 3db22ed63e74c28efedf8b979994f8a9192296d5 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 15 Apr 2024 05:18:04 -0700 Subject: [PATCH] tools/release: use "make dist" This target exists; use it, instead of effectively open-coding it into the release script, causing bit rot and testing problems. Signed-off-by: H. Peter Anvin --- tools/release | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tools/release b/tools/release index eb88cdea..2b834607 100755 --- a/tools/release +++ b/tools/release @@ -45,12 +45,7 @@ makej="${makej:-make}" cd nasm ./autogen.sh --clearenv ./configure --prefix=/usr/local -$makej perlreq spec manpages -$makej alldeps -$makej distclean -if [ -f ./autoconf/clean.sh ]; then - sh ./autoconf/clean.sh -fi +$makej dist cd .. # Clean up any previous attempt