From: ivan Date: Mon, 5 Nov 2001 14:03:42 +0000 (+0000) Subject: move sys-dependant stuff to vars X-Git-Tag: freeside_1_4_0pre11~230 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=33e4caaea5d17c9f39d8d006864f08c0e565db47 move sys-dependant stuff to vars --- diff --git a/Makefile b/Makefile index 2e8fd1f2d..677dea933 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,9 @@ TEMPLATE = asp FREESIDE_DOCUMENT_ROOT = /var/www/freeside +HTTPD_RESTART = /etc/init.d/apache restart +QUEUED_RESTART = /etc/init.d/freeside restart + #--- #not changable yet @@ -58,7 +61,8 @@ install-perl-modules: perl-modules install: install-perl-modules install-docs deploy: install - /etc/init.d/apache restart + ${HTTPD_RESTART} + ${QUEUED_RESTART} create-database: perl -e 'use DBIx::DataSource qw( create_database ); create_database( \'${DATASOURCE}\', \'${DB_USER}\', \'${DB_PASSWORD}\' ) or die $DBIx::DataSource::errstr;'