update Makefile to always substitute in RT_SiteConfig.pm when running install-rt
authorivan <ivan>
Sat, 4 Aug 2007 01:58:29 +0000 (01:58 +0000)
committerivan <ivan>
Sat, 4 Aug 2007 01:58:29 +0000 (01:58 +0000)
Makefile

index 76a92c7..637e546 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -337,13 +337,13 @@ create-rt: configure-rt
        rt/sbin/rt-setup-database --action insert_initial \
        && rt/sbin/rt-setup-database --action insert --datafile ${RT_PATH}/etc/initialdata \
        || true
+
+install-rt:
        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
-
-install-rt:
        [ ${RT_ENABLED} -eq 1 ] && ( cd rt; make install ) || true
 
 clean: