diff --git a/Makefile b/Makefile index a09bd5a..70a96e4 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ -BUILD_DEPS = dh-systemd python-all gdebi git git-buildpackage lua5.1 liblua5.1-dev libidn11-dev libssl-dev txt2man quilt +BUILD_DEPS = dh-systemd dh-python python-all python-yaml python-psutil gdebi git git-buildpackage lua5.1 liblua5.1-dev libidn11-dev libssl-dev txt2man quilt postfix + +.PHONY: init metronome ssowat moulinette yunohost install uninstall init: apt -o Dpkg::Options::="--force-confold" -y --force-yes install $(BUILD_DEPS) @@ -11,11 +13,17 @@ init: metronome: cd /ynh-build/; rm -f metronome_*; cd metronome; dpkg-buildpackage -rfakeroot -uc -b -d +ssowat: + cd /ynh-build/; rm -f ssowat_*; cd ssowat; debuild -us -uc + +moulinette: + cd /ynh-build/; rm -f moulinette_*; cd moulinette; debuild -us -uc + yunohost: cd /ynh-build/; rm -f yunohost_*; cd yunohost; debuild -us -uc install: - cd /ynh-build/; debconf-set-selections < debconf; export SUDO_FORCE_REMOVE=yes; gdebi /ynh-build/yunohost*.deb -n + cd /ynh-build/; debconf-set-selections < debconf; export SUDO_FORCE_REMOVE=yes; gdebi /ynh-build/metronome*.deb -n; gdebi /ynh-build/moulinette*.deb -n; gdebi /ynh-build/ssowat*.deb -n; gdebi /ynh-build/yunohost*.deb -n uninstall: apt remove slapd yunohost moulinette --purge -y diff --git a/install_yunohost b/install_yunohost index 02a5f36..d304d60 100755 --- a/install_yunohost +++ b/install_yunohost @@ -135,6 +135,7 @@ function main() function build_packages_locally() { + apt install make -y mkdir -p /ynh-build/ cp ./Makefile ./debconf /ynh-build/ cd /ynh-build