those files except the person who has to build the .hlp files, which has
to be done separately anyway.
Remove dire warning at the top; we're now using a working directory.
#
# Usage: release {test|real} [branch]
#
-# *** WARNING WARNING WARNING ***
-# Make sure to execute this in an empty directory
-#
if [ -z "$SFUSER" ]; then
if [ -f "$HOME/.sfuser" ]; then
cd nasm-${version}
./configure --prefix=/usr/local
make doc
+# The .hpj and .rtf files are used to generate a Windows .hlp file.
+# That requires Windows tools, so that has to be done separately anyway.
+rm -f doc/nasmdoc.hpj doc/nasmdoc.rtf
cd ..
# Remove non-documentation