summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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