X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=Makefile;h=6d0b2c009108667300b1a00b5f488735df8c7a70;hb=8d6987f81d3d5667b00b428580a05e7ac973279a;hp=10b96e25d49eb7efd57fd28c11bdb0df65fa35b9;hpb=6742745df8ca76edeb4ea2a28c93c58b9a2f975b;p=freeside.git diff --git a/Makefile b/Makefile index 10b96e25d..6d0b2c009 100644 --- a/Makefile +++ b/Makefile @@ -345,7 +345,8 @@ configure-rt: --with-db-rt-pass=${DB_PASSWORD} \ --with-web-user=freeside \ --with-web-group=freeside \ - --with-rt-group=freeside + --with-rt-group=freeside \ + --with-web-handler=modperl2 create-rt: configure-rt [ -d /opt ] || mkdir /opt #doh @@ -361,12 +362,12 @@ create-rt: configure-rt || true install-rt: - perl -p -i -e "\ + [ ${RT_ENABLED} -eq 1 ] && ( cd rt; make install ) || true + [ ${RT_ENABLED} -eq 1 ] && perl -p -i -e "\ s'%%%RT_DOMAIN%%%'${RT_DOMAIN}'g;\ s'%%%RT_TIMEZONE%%%'${RT_TIMEZONE}'g;\ s'%%%FREESIDE_URL%%%'${FREESIDE_URL}'g;\ " ${RT_PATH}/etc/RT_SiteConfig.pm - [ ${RT_ENABLED} -eq 1 ] && ( cd rt; make install ) || true clean: rm -rf masondocs