summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorivan <ivan>2010-01-03 03:07:29 +0000
committerivan <ivan>2010-01-03 03:07:29 +0000
commit8d6987f81d3d5667b00b428580a05e7ac973279a (patch)
treead821e81780b6ee95f122d92a67e4cfb0050106e /Makefile
parent53e7b6322bf3cbbc3bcd24117b0b008cbe019217 (diff)
can't we all just get along (with RT 3.8.7)?
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 10b96e2..6d0b2c0 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