X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=Makefile;h=1211232874b1a8cf31904921c79a122e8f8177a6;hb=a820cfffc9f5413be79409c915565689563dede3;hp=260d0929b14b814068bbd9515cf22257051bf9d1;hpb=b335f3f1beb62e8c5022e0ea9e94a9c2f08fd4b6;p=freeside.git diff --git a/Makefile b/Makefile index 260d0929b..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 @@ -46,8 +48,11 @@ docs: make ${TEMPLATE}docs install-docs: docs - [ -e ${FREESIDE_DOCUMENT_ROOT} ] && mv ${FREESIDE_DOCUMENT_ROOT} ${FREESIDE_DOCUMENT_ROOT}.`date +%Y%m%d%H%M%S` + [ -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; \