silverstripe-installer/Makefile
sminnee 85c97e8bed Added build suffix to test installation function
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@55083 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-05-24 05:25:51 +00:00

22 lines
511 B
Makefile

#
# This makefile is a secondary way of installing SilverStripe.
# It is used for things like continuous integration
#
# Most users should simply visit the site root in your web browser.
#
suffix=`basename \`dirname \\\`pwd\\\`\``
install: mysite/_config.php
mysite/_config.php:
php install.php install SS_testdatabase_${suffix}
test: clean install
$(MAKE) -C sapphire test
clean:
if [ -f .htaccess ]; then rm .htaccess; fi
touch .htaccess
if [ -f mysite/_config.php ]; then rm mysite/_config.php; fi