X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=Makefile;h=92f82067b935bddf313a25bfc958798e427c603d;hb=fdf62da26a4a9127fd43f359163f231a89bc692d;hp=da56c7342630b81b502424511746e3b2b737be6d;hpb=2f9eb7976dca75dc6c585ea9c62f1b0898e3e953;p=freeside.git diff --git a/Makefile b/Makefile index da56c7342..92f82067b 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,8 @@ TEMPLATE = asp #TEMPLATE = mason ASP_GLOBAL = /usr/local/etc/freeside/asp-global +MASON_HANDLER = /usr/local/etc/freeside/handler.pl +MASONDATA = /usr/local/etc/freeside/masondata #deb, others? FREESIDE_DOCUMENT_ROOT = /var/www/freeside @@ -115,6 +117,9 @@ install-docs: docs [ "${TEMPLATE}" = "asp" -a ! -e ${ASP_GLOBAL} ] && mkdir ${ASP_GLOBAL} || true [ "${TEMPLATE}" = "asp" ] && chown -R freeside ${ASP_GLOBAL} || true [ "${TEMPLATE}" = "asp" ] && cp htetc/global.asa ${ASP_GLOBAL} || true + [ "${TEMPLATE}" = "mason" ] && cp htetc/handler.pl ${MASON_HANDLER} || true + [ "${TEMPLATE}" = "mason" -a ! -e ${MASONDATA} ] && mkdir ${MASONDATA} || true + [ "${TEMPLATE}" = "mason" ] && chown -R freeside ${MASONDATA} || true perl-modules: cd FS; \ @@ -137,6 +142,8 @@ install-init: s/%%%SIGNUP_MACHINE%%%/${SIGNUP_MACHINE}/g;\ s/%%%SIGNUP_AGENTNUM%%%/${SIGNUP_AGENTNUM}/g;\ s/%%%SIGNUP_REFNUM%%%/${SIGNUP_REFNUM}/g;\ + s/%%%SELFSERVICE_USER%%%/${SELFSERVICE_USER}/g;\ + s/%%%SELFSERVICE_MACHINE%%%/${SELFSERVICE_MACHINE}/g;\ " ${INIT_FILE} install: install-perl-modules install-docs install-init