summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-09-03 22:54:24 +0000
committerH. Peter Anvin <hpa@zytor.com>2008-09-03 22:54:24 +0000
commit885e2ef48c2438c4f95de07ac967d4f55a0a4d49 (patch)
tree60dc5d3b66a406a3f883f039cd93b6614b507008
parent94b8305f0c9e74ff4b29c572423d054c9202abb4 (diff)
downloadnasmbuild-885e2ef48c2438c4f95de07ac967d4f55a0a4d49.tar.gz
nasmbuild-885e2ef48c2438c4f95de07ac967d4f55a0a4d49.tar.xz
nasmbuild-885e2ef48c2438c4f95de07ac967d4f55a0a4d49.zip
Produce both UPX:ed and non-UPX:ed versions of the DOS binaries
-rwxr-xr-xbuildall.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildall.sh b/buildall.sh
index 734879e..f9637d7 100755
--- a/buildall.sh
+++ b/buildall.sh
@@ -62,13 +62,15 @@ build () {
cd dos/nasm-$version
LDFLAGS='-s' ./configure --host=i586-pc-msdosdjgpp
$makej
- find . -name \*.exe -type f -print0 | xargs -0r time upx -q --lzma --best --all-filters
mv doc/nasmdoc.txt .
cp $READMES/dos README
cp $CWSDPMI/bin/cwsdpmi.{exe,doc} .
cd ..
zip -9Dl ../nasm-$version-dos.zip nasm-$version/{COPYING,README,nasmdoc.txt,cwsdpmi.doc}
zip -9Drg ../nasm-$version-dos.zip nasm-$version -i \*.exe
+ find nasm-$version -name \*.exe -type f -print0 | xargs -0r time upx -q --lzma --best --all-filters
+ zip -9Dl ../nasm-$version-dos-upx.zip nasm-$version/{COPYING,README,nasmdoc.txt,cwsdpmi.doc}
+ zip -9Drg ../nasm-$version-dos-upx.zip nasm-$version -i \*.exe
cd ..
mkdir -p os2