VERSION=5.4.6 DEST=/opt/erp5/${VERSION} run_buildout: python -S bootstrap/bootstrap.py bin/buildout -vv clean: sudo rm -Rf ${DEST} install: sudo mkdir -p ${DEST} sudo cp -r parts/checkout/* ${DEST} mandriva-dependencies: sudo urpmi --auto rpm-build opensuse-dependencies: sudo zypper install -y mono-devel fedora-dependencies: sudo yum install -y auto-buildrequires mandriva: clean mandriva-dependencies run_buildout install sudo rpmbuild -bb specs/erp5-official-buildout-mandriva2010.spec if test -d ~/rpmbuild/RPMS/x86_64; \ then find ~/rpmbuild/RPMS/x86_64/ -name erp5-$(VERSION)*.rpm -print0 | xargs -0 sudo urpmi --auto ; \ else find ~/rpmbuild/RPMS/i586/ -name erp5-$(VERSION)*.rpm -print0 | xargs -0 sudo urpmi --auto ; \ fi sudo rpmbuild -bb specs/tiolive-application-buildout-mandriva2010.spec opensuse: clean opensuse-dependencies run_buildout install sudo rpmbuild -bb specs/erp5-official-buildout-opensuse.spec find /usr/src/packages/RPMS/ -name erp5-$(VERSION)*.rpm -print0 | xargs -0 sudo zypper install -y sudo rpmbuild -bb specs/tiolive-application-buildout-opensuse.spec fedora: clean fedora-dependencies run_buildout install sudo rpmbuild -bb specs/erp5-official-buildout-fedora.spec find ~/rpmbuild/RPMS -name erp5-$(VERSION)*.rpm -print0 | xargs -0 sudo yum install -y --nogpgcheck sudo rpmbuild -bb specs/tiolive-application-buildout-fedora.spec