Don't include the .hpj and .rtf files in the bundles -- noone wants
authorH. Peter Anvin <hpa@zytor.com>
Mon, 6 May 2002 00:42:07 +0000 (00:42 +0000)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 6 May 2002 00:42:07 +0000 (00:42 +0000)
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.

misc/release

index df782fc..1240256 100755 (executable)
@@ -4,9 +4,6 @@
 #
 # 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
@@ -107,6 +104,9 @@ find nasm-$version -not -type d -print > main
 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