summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2020-06-04 17:31:17 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2020-06-04 17:31:17 -0700
commit8d03b9ccc8c84ccf96f005b55c2aa5069b775a00 (patch)
treeb86a5afb799d5402e7680f2882026406a3f5bbc7 /tools
parentfb7753bc2b42fd48922cf2629e5141c8a5b42696 (diff)
downloadnasm-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>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/release3
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