summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
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