Lucio Andrés Illanes Albornoz (arab, vxp) 0724e5
usage: ./build.sh [-c] [-nd] [-r ALL|name[:step]] [-h] [-t]
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
        -c                     Clean $PREFIX before processing build scripts.
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
        -nd                    Don't rm(1) and re-download tarballs when not required.
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
        -r ALL|name[:step]     Restart all or the specified build script(s) completely
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
                               or at the optionally specified build step. Currently defined
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
                               build steps are: fetch extract patch configure clean build
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
                               install configure1 configure2 build1 build2 install1 install2.
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
        -h                     Show this screen.
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
        -t                     Produce a distribution tarball containing $PREFIX
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
                               sans $WORKDIR and $PREFIX/src/midipix_build at the end of a
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
                               build with zero failures.
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
        -x                     Set the xtrace sh(1)ell option for debugging purposes.
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
        -X                     Set the xtrace sh(1)ell option and compile a tarball containing
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
                               build.log and $PKG_SUBDIR. Use this option if something goes
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
                               wrong and provide an URL to the tarball in <irc://irc.freenode.net/midipix>.
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
Lucio Andrés Illanes Albornoz (arab, vxp) 090fd4
        Packages that are built by pkg.build will apply local patches in $WORKDIR
Lucio Andrés Illanes Albornoz (arab, vxp) 090fd4
        named ${PKG_SUBDIR}.local.patch.
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
Lucio Andrés Illanes Albornoz (arab, vxp) 090fd4
        Examples:
Lucio Andrés Illanes Albornoz (arab, vxp) 0724e5
        ./build.sh -r psxscl GITROOT_HEAD=... PKG_PSXSCL_CFLAGS=-DPSX_INTERNAL_STRACE
Lucio Andrés Illanes Albornoz (arab, vxp) 090fd4
        Build psxscl from the internal repository with strace enabled.
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
Lucio Andrés Illanes Albornoz (arab, vxp) 0724e5
        ./build.sh -c -r ALL GITROOT_HEAD=...
Lucio Andrés Illanes Albornoz (arab, vxp) 0724e5
        Clean $PREFIX and forcibly rebuild everything.