can't we all just get along (with RT 3.8.7)?
[freeside.git] / Makefile
index 10b96e2..6d0b2c0 100644 (file)
--- 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