Previously, this script was used on Windows after building a MySQL distribution from source to create executable programs. It packaged the binaries and support files into a ZIP archive that can be unpacked at the location where you want to install MySQL.
To create a binary distribution now, execute make package in the top-level directory of the source tree.