X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=Makefile;h=6d3d80397ce3e8907e19dd3940c345feb9511973;hp=5c7f155375925baab1fdb72692994fcbb03d02be;hb=07242e191cb2ad247fed8dacd392ef8bf47b5392;hpb=ed8a6d06b1ed8b13132898d3b05c8b81d63d1038 diff --git a/Makefile b/Makefile index 5c7f15537..6d3d80397 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ MASONDATA = /usr/local/etc/freeside/masondata #deb FREESIDE_DOCUMENT_ROOT = /var/www/freeside -#redhat, mandrake +#redhat, fedora, mandrake #FREESIDE_DOCUMENT_ROOT = /var/www/html/freeside #freebsd #FREESIDE_DOCUMENT_ROOT = /usr/local/www/data/freeside @@ -24,14 +24,14 @@ FREESIDE_DOCUMENT_ROOT = /var/www/freeside #suse #FREESIDE_DOCUMENT_ROOT = /srv/www/htdocs/freeside -#deb, redhat, mandrake, suse, others? +#deb, redhat, fedora, mandrake, suse, others? INIT_FILE = /etc/init.d/freeside #freebsd #INIT_FILE = /usr/local/etc/rc.d/011.freeside.sh #deb, suse HTTPD_RESTART = /etc/init.d/apache restart -#redhat, mandrake +#redhat, fedora, mandrake #HTTPD_RESTART = /etc/init.d/httpd restart #freebsd #HTTPD_RESTART = /usr/local/etc/rc.d/apache.sh stop; sleep 1; /usr/local/etc/rc.d/apache.sh start @@ -40,7 +40,7 @@ HTTPD_RESTART = /etc/init.d/apache restart FREESIDE_RESTART = ${INIT_FILE} restart -#deb, redhat, mandrake, suse, others? +#deb, redhat, fedora, mandrake, suse, others? INSTALLGROUP = root #freebsd, openbsd #INSTALLGROUP = wheel @@ -129,6 +129,10 @@ 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}" = "asp" ] && \ + perl -p -i -e "\ + s'%%%FREESIDE_DOCUMENT_ROOT%%%'${FREESIDE_DOCUMENT_ROOT}'g; \ + " ${ASP_GLOBAL}/global.asa || true [ "${TEMPLATE}" = "mason" ] && cp htetc/handler.pl ${MASON_HANDLER} || true [ "${TEMPLATE}" = "mason" ] && \ perl -p -i -e "\ @@ -228,7 +232,7 @@ create-rt: configure-rt " ${RT_PATH}/etc/RT_SiteConfig.pm install-rt: - [ ${RT_ENABLED} -eq 1 ] && cd rt; make install + [ ${RT_ENABLED} -eq 1 ] && ( cd rt; make install ) || true clean: rm -rf aspdocs masondocs