Treat info files as binary when creating xdoc distro file

info files appear to contain embedded binary information and should
therefore be treated as binary when creating zipfiles.
This commit is contained in:
H. Peter Anvin 2007-11-01 15:08:27 -07:00
parent b9218138b4
commit f5c729203d

View File

@ -88,8 +88,8 @@ mv nasm-"$version"-xdoc.tar.gz nasm-"$version"-xdoc.tar.bz2 ..
# Create doc zipfile (DOS convention: no prefix, convert file endings)
# (Note: generating Win .hlp files requires additional tools)
cd nasm-"$version"
zip -9Dlr ../../nasm-"$version"-xdoc.zip doc -x \*.pdf
zip -9Dgr ../../nasm-"$version"-xdoc.zip doc -i \*.pdf
zip -9Dlr ../../nasm-"$version"-xdoc.zip doc -x \*.pdf -x \*.info\*
zip -9Dgr ../../nasm-"$version"-xdoc.zip doc -i \*.pdf -i \*.info\*
# Clean up
cd ../..