summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-01-03 02:54:42 +0000
committerivan <ivan>2010-01-03 02:54:42 +0000
commitb0cfa107afc1e75b94de0d1de3206d324a9372ef (patch)
tree8b7b2e399af346dd4042f11fcae4d2335af229b7
parent8ba2772e1646177dc8838ea1741f557c59a12aa9 (diff)
fix RT_SiteConfig.pm substitution
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index add0dc20a..34e3fdd1e 100644
--- a/Makefile
+++ b/Makefile
@@ -361,12 +361,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