X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=Makefile;h=1211232874b1a8cf31904921c79a122e8f8177a6;hb=a820cfffc9f5413be79409c915565689563dede3;hp=15f8b85d890692f4b9818a2b369255929c80f424;hpb=d738d0c6677d72f62a0c9fb2fc4446c07c6e8492;p=freeside.git diff --git a/Makefile b/Makefile index 15f8b85d8..121123287 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,8 @@ TEMPLATE = asp #mason's a bit dodgy still #TEMPLATE = mason +ASP_GLOBAL = /usr/local/etc/freeside/asp-global + FREESIDE_DOCUMENT_ROOT = /var/www/freeside HTTPD_RESTART = /etc/init.d/apache restart @@ -48,6 +50,9 @@ docs: install-docs: docs [ -e ${FREESIDE_DOCUMENT_ROOT} ] && mv ${FREESIDE_DOCUMENT_ROOT} ${FREESIDE_DOCUMENT_ROOT}.`date +%Y%m%d%H%M%S` || true cp -r ${TEMPLATE}docs ${FREESIDE_DOCUMENT_ROOT} + [ "${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 perl-modules: cd FS; \