diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2020-06-04 17:31:17 -0700 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2020-06-04 17:31:17 -0700 |
commit | 8d03b9ccc8c84ccf96f005b55c2aa5069b775a00 (patch) | |
tree | b86a5afb799d5402e7680f2882026406a3f5bbc7 | |
parent | fb7753bc2b42fd48922cf2629e5141c8a5b42696 (diff) | |
download | nasm-8d03b9ccc8c84ccf96f005b55c2aa5069b775a00.tar.gz |
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) <hpa@zytor.com>
-rwxr-xr-x | tools/release | 3 |
1 files changed, 2 insertions, 1 deletions
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 |