VERSION=trunk DEST=/opt/erp5/${VERSION} clean: sudo rm -Rf ${DEST} prepare: sudo mkdir -p ${DEST}/{downloads,extends-cache} mandriva-dependencies: sudo urpmi --auto rpm-build opensuse-dependencies: sudo zypper install -y mono-devel fedora-dependencies: sudo yum install -y auto-buildrequires centos-dependencies: sudo yum install -y rpm-build gcc gcc-c++ make mandriva: clean mandriva-dependencies prepare sudo -E rpmbuild -bb specs/erp5-official-buildout-trunk.spec opensuse: clean opensuse-dependencies prepare sudo -E rpmbuild -bb specs/erp5-official-buildout-trunk.spec fedora: clean fedora-dependencies prepare sudo -E rpmbuild -bb specs/erp5-official-buildout-trunk.spec centos: clean centos-dependencies prepare sudo -E rpmbuild -bb specs/erp5-official-buildout-trunk.spec