#!/bin/bash [ -z "$1" ] && echo -e "Usage: make-distro \n\tdistro names: desktop, lite, gnome-desktop etc" && exit 1 branch=Sisyphus version=5.0.0_beta archs=${archs:-"i586 x86_64"} autoconf && ./configure &> /dev/null for arch in $archs; do make distclean &> /dev/null ./configure --with-aptconf=$HOME/$branch-$arch.conf --with-version=$version --with-distro=$@ --with-arch=$arch &> /dev/null make &> $1.$arch.log && echo $1 $arch make distclean &> /dev/null done