How to generate binary tar.gz files.
* [[Linux Build Environment Setup|Setup your build environment]].
* [[http://kb.askmonty.org/en/generic-build-instructions|Build binaries]] with your preferred options/plugins.
* Use <<fixed>>make_binary_distribution<</fixed>> to generate a binary tar file:
<<code>>
cd mariadb-source
./scripts/make_binary_distribution
<</code>>
This creates a source file with a name like <<fixed>>mariadb-5.3.2-MariaDB-beta-linux-x86_64.tar.gz<</fixed>> in your current directory.
The other option is to use the bakery scripts. In this case you don't have to compile MariaDB source first.
<<code>>
cd $PACKAGING_WORK
bakery/preheat.sh
cd bakery_{number}
bakery/tarbake51.sh last:1 $MARIA_WORK
bakery/autobake51-bintar.sh mariadb-{version_num}-maria-beta-ourdelta{number}.tar.gz
<</code>>