X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=Makefile;h=f6f7ae516835dd74eedca7d394fde5289d4bbf60;hb=0fd798c8ecec0141cdb4c5db2016a94ae34a24f2;hp=72b3e58ff1ee4badd1bb3bfa14819b432eab8647;hpb=48f9101feea57bf75d85ea17e7cd3fb786bbd040;p=freeside.git diff --git a/Makefile b/Makefile index 72b3e58ff..f6f7ae516 100644 --- a/Makefile +++ b/Makefile @@ -21,13 +21,15 @@ FREESIDE_DOCUMENT_ROOT = /var/www/freeside #FREESIDE_DOCUMENT_ROOT = /usr/local/www/data/freeside #openbsd #FREESIDE_DOCUMENT_ROOT = /var/www/htdocs/freeside +#suse +#FREESIDE_DOCUMENT_ROOT = /srv/www/htdocs/freeside -#deb, redhat, mandrake, others? +#deb, redhat, mandrake, suse, others? INIT_FILE = /etc/init.d/freeside #freebsd #INIT_FILE = /usr/local/etc/rc.d/011.freeside.sh -#deb +#deb, suse HTTPD_RESTART = /etc/init.d/apache restart #redhat, mandrake #HTTPD_RESTART = /etc/init.d/httpd restart @@ -38,7 +40,7 @@ HTTPD_RESTART = /etc/init.d/apache restart FREESIDE_RESTART = ${INIT_FILE} restart -#deb, redhat, mandrake, others? +#deb, redhat, mandrake, suse, others? INSTALLGROUP = root #freebsd, openbsd #INSTALLGROUP = wheel @@ -119,6 +121,10 @@ install-docs: docs [ "${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" ] && + perl -p -i -e "\ + s/%%%FREESIDE_DOCUMENT_ROOT%%%/${FREESIDE_DOCUMENT_ROOT}/g; \ + " ${MASON_HANDLER} [ "${TEMPLATE}" = "mason" -a ! -e ${MASONDATA} ] && mkdir ${MASONDATA} || true [ "${TEMPLATE}" = "mason" ] && chown -R freeside ${MASONDATA} || true