[Nasm-commits] [nasm:nasm-2.15.xx] release: don't include nasmdoc.pdf.xz in the -xdoc file

nasm-bot for H. Peter Anvin (Intel) hpa at zytor.com
Thu Jun 4 19:57:07 PDT 2020


Commit-ID:  8d03b9ccc8c84ccf96f005b55c2aa5069b775a00
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=8d03b9ccc8c84ccf96f005b55c2aa5069b775a00
Author:     H. Peter Anvin (Intel) <hpa at zytor.com>
AuthorDate: Thu, 4 Jun 2020 17:31:17 -0700
Committer:  H. Peter Anvin (Intel) <hpa at zytor.com>
CommitDate: Thu, 4 Jun 2020 17:31:17 -0700

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 at zytor.com>


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


More information about the Nasm-commits mailing list