]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Separate win32/win64 building
authorz411 <z411@omaera.org>
Sun, 20 Feb 2022 20:20:07 +0000 (17:20 -0300)
committerz411 <z411@omaera.org>
Sun, 20 Feb 2022 20:20:07 +0000 (17:20 -0300)
misc/tools/all/release.subr

index f4e246e95087a07804633633227a2fdb37519c0a..3ad29c32b00d3549fde875663bd2680af4b0a652 100644 (file)
@@ -276,18 +276,27 @@ case "$cmd" in
                mkdir -p "$d0/$targetdir"
                cd "$d0/misc/buildsrc"
                verbose ./dlls.sh all "$buildpath" "$arch"
-               verbose mv "$buildpath/out/$arch/*" "$d0/$targetdir"
+               verbose cp "$buildpath/out/$arch/*" "$d0/$targetdir"
                cd "$d0"
                ;;
+    release-dlls-win32)
+               release_common
+               verbose "$SELF" release-dlls-compile win32 /tmp/dlls Xonotic/bin32
+               ;;
+    release-dlls-win64)
+               release_common
+               verbose "$SELF" release-dlls-compile win64 /tmp/dlls Xonotic/bin64
+               ;;
        release-dlls-clean)
-               verbose $d0/misc/buildsrc/dlls.sh clean "$buildpath"
+               release_common
+               verbose $d0/misc/buildsrc/dlls.sh clean /tmp/dlls
                ;;
        release-dlls)
                release_common
                good=false
-               verbose "$SELF" release-dlls-compile win32 /tmp/dlls Xonotic/bin32 && good=true
-               verbose "$SELF" release-dlls-compile win64 /tmp/dlls Xonotic/bin64 && good=true
-               verbose "$SELF" release-dlls-clean /tmp/dlls
+               verbose "$SELF" release-dlls-win32
+               verbose "$SELF" release-dlls-win64
+               verbose "$SELF" release-dlls-clean
                $good
                ;;
        release-engine-win32)