From 33e4caaea5d17c9f39d8d006864f08c0e565db47 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 5 Nov 2001 14:03:42 +0000 Subject: [PATCH] move sys-dependant stuff to vars --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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;' -- 2.11.0