From 8d03b9ccc8c84ccf96f005b55c2aa5069b775a00 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin (Intel)" Date: Thu, 4 Jun 2020 17:31:17 -0700 Subject: [PATCH] release: don't include nasmdoc.pdf.xz in the -xdoc file There is no reason to include both nasmdoc.pdf.xz and nasmdoc.pdf. For the -xdoc file, the one with minimal dependencies is the proper one. Signed-off-by: H. Peter Anvin (Intel) --- tools/release | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/release b/tools/release index a0b79461..16e35811 100755 --- a/tools/release +++ b/tools/release @@ -93,7 +93,8 @@ cat main | xargs rm -f # Delete empty subdirectories find nasm-"$version"/doc -type d -exec rmdir '{}' \; 2>/dev/null || true -# Create doc tarfile +# Create doc tarfile (don't include nasmdoc.pdf.xz as it is redundant) +rm -f nasm-"$version"/doc/*.pdf.xz tar cvvf nasm-"$version"-xdoc.tar nasm-"$version"/doc xz -9ek nasm-"$version"-xdoc.tar bzip2 -9k nasm-"$version"-xdoc.tar -- 2.11.4.GIT