# Quick copy-paste guide * From root of tree ``` bash export TEMP_SOURCE=$(mktemp -d -t FEX-XXXXXXXXXX) export FEX_VERSION=$(date +%y%m) export UBUNTU_SUBVERSION= # If exists then tilde plus a number export PACKAGE_VERSION=${FEX_VERSION}${UBUNTU_SUBVERSION} export FEXPPA=$(readlink -f .) git clone --recurse-submodules --depth=1 --branch=FEX-${FEX_VERSION} https://github.com/FEX-Emu/FEX.git $TEMP_SOURCE rm -Rf $TEMP_SOURCE/External/{fex-gcc-target-tests-bins,fex-gvisor-tests-bins,fex-posixtest-bins} rm -Rf $TEMP_SOURCE/.git rm -Rf $TEMP_SOURCE/unittests rm -Rf $TEMP_SOURCE/External/vixl/src/aarch32/ rm -Rf $TEMP_SOURCE/External/vixl/test tar -cvpzf fex-emu_${PACKAGE_VERSION}.orig.tar.gz -C $TEMP_SOURCE/ . ${FEXPPA}/create_packages.py 0 ${FEX_VERSION} ${PACKAGE_VERSION} TestChanges fex-emu_${PACKAGE_VERSION}.orig.tar.gz ${FEXPPA}/create_packages.py 1 ${FEX_VERSION} ${PACKAGE_VERSION} TestChanges fex-emu_${PACKAGE_VERSION}.orig.tar.gz ${FEXPPA}/create_packages.py 2 ${FEX_VERSION} ${PACKAGE_VERSION} TestChanges fex-emu_${PACKAGE_VERSION}.orig.tar.gz # This step actually uploads the packages to launchpad. ${FEXPPA}/create_packages.py 3 ${FEX_VERSION} ${PACKAGE_VERSION} TestChanges fex-emu_${PACKAGE_VERSION}.orig.tar.gz rm -Rf $TEMP_SOURCE rm -Rf ${FEXPPA}/gen_ppa rm ${FEXPPA}/fex-emu_${PACKAGE_VERSION}.orig.tar.gz ``` # Stage documentation * `Args =