+remove-directories:
+ echo "> Removing directory ${project_dir}/www"
+ sudo rm -r ${project_dir}/www
+ echo "> Removing directory: ${project_dir}"
+ sudo rm -r ${project_dir}
+
+remove-vhost:
+ if test -f ${apache_sites}/${host}; then \
+ echo "> Removing apache configuration file"; \
+ sudo rm ${apache_sites}/${host}; \
+ fi;
+
+enable: enable-${type}
+ echo "[+] Enabling ${name}"
+ if test -f /etc/apache2/sites-available/${host}; then \
+ echo "> Enabling project's vhost..."; \
+ sudo a2ensite ${host}; \
+ sudo service apache2 reload; \
+ else \
+ echo "> Enabling failed. Check your project configuration"; \
+ fi
+
+enable-:
+
+disable: disable-${type}
+ echo "[+] Disabling ${name}"