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>
This commit is contained in:
H. Peter Anvin (Intel) 2020-06-04 17:31:17 -07:00
parent fb7753bc2b
commit 8d03b9ccc8

View file

@ -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