summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-03-15 01:01:59 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-03-15 01:01:59 -0700
commit09c0bb387ff3cac006010e23a248c638ceddeea2 (patch)
treef1068f888654ebbb2be6a78917b2417c65df68fc
parent6d2bbfac619cf756dc35dc3e1a8562518e1137dd (diff)
downloadnasmbuild-09c0bb387ff3cac006010e23a248c638ceddeea2.tar.gz
nasmbuild-09c0bb387ff3cac006010e23a248c638ceddeea2.tar.xz
nasmbuild-09c0bb387ff3cac006010e23a248c638ceddeea2.zip
Put builds in different directories depending on platform
To reduce confusion, put binaries in different directories for each platform. We have enough platforms now that it isn't always obvious to people what to grab.
-rwxr-xr-xbuildall.sh17
1 files changed, 15 insertions, 2 deletions
diff --git a/buildall.sh b/buildall.sh
index 2047a12..47e71fe 100755
--- a/buildall.sh
+++ b/buildall.sh
@@ -91,8 +91,21 @@ build () {
mkdir -p "$outdir"
echo "$rev" > "$outdir"/git.id
- mv -f nasm-${version}*.tar.* nasm-${version}*.zip "$outdir"
- find rpmbuild -name \*.rpm -exec mv -f '{}' "$outdir" \;
+ for os in dos windows os2 linux; do
+ mkdir -p "$outdir"/"$os"
+ done
+
+ # Sources
+ mv -f nasm-${version}.tar.* nasm-${version}.zip "$outdir"
+ mv -f nasm-${version}-xdoc.tar.* nasm-${version}-xdoc.zip "$outdir"
+ # Windows
+ mv -f nasm-${version}-win32.zip "$outdir"/windows/
+ # DOS
+ mv -f nasm-${version}-dos.zip nasm-${version}-dos-upx.zip "$outdir"/dos/
+ # OS/2
+ mv -f nasm-${version}-os2.zip "$outdir"/os2/
+ # Linux (RPMS)
+ find rpmbuild -name \*.rpm -exec mv -f '{}' "$outdir"/linux/ \;
echo "$version" "$rev" >> build-ids
}